Skip to content

Fix GUI installer: publish as single-file self-contained exe#300

Merged
erikdarlingdata merged 1 commit intodevfrom
fix/gui-installer-single-file
Feb 26, 2026
Merged

Fix GUI installer: publish as single-file self-contained exe#300
erikdarlingdata merged 1 commit intodevfrom
fix/gui-installer-single-file

Conversation

@erikdarlingdata
Copy link
Owner

Summary

  • The GUI installer was missing from the v1.3.0 release because dotnet publish produced 280 loose files but only the exe was copied to the release zip (with -ErrorAction SilentlyContinue hiding the problem)
  • Add PublishSingleFile, SelfContained, IncludeNativeLibrariesForSelfExtract, EnableCompressionInSingleFile, and PublishTrimmed=false to the GUI csproj — matching the CLI installer exactly
  • Remove now-redundant -r win-x64 --self-contained flags from build.yml (properties are in the csproj)

Test plan

  • dotnet publish -c Release produces single 75MB exe
  • Published exe launches and runs correctly
  • Build path matches what build.yml line 72 expects (InstallerGui/bin/Release/net8.0-windows/win-x64/publish/PerformanceMonitorInstallerGui.exe)

🤖 Generated with Claude Code

The GUI installer was missing from v1.3.0 release because the publish
step produced 280 loose files but only the exe was copied to the release
zip. Without its DLLs, the exe would crash on launch.

Add PublishSingleFile, SelfContained, and related properties to match
the CLI installer csproj. Remove now-redundant flags from build.yml.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@erikdarlingdata erikdarlingdata merged commit e033e0e into dev Feb 26, 2026
3 checks passed
@erikdarlingdata erikdarlingdata deleted the fix/gui-installer-single-file branch February 27, 2026 23:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant