Skip to content

Commit 82aa75e

Browse files
Make GUI installer publish as single-file self-contained exe
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>
1 parent b8b0d63 commit 82aa75e

2 files changed

Lines changed: 7 additions & 1 deletion

File tree

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ jobs:
4747
run: dotnet publish Installer/PerformanceMonitorInstaller.csproj -c Release
4848

4949
- name: Publish GUI Installer
50-
run: dotnet publish InstallerGui/InstallerGui.csproj -c Release -r win-x64 --self-contained
50+
run: dotnet publish InstallerGui/InstallerGui.csproj -c Release
5151

5252
- name: Package release artifacts
5353
if: github.event_name == 'release'

InstallerGui/InstallerGui.csproj

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,12 @@
1212
<Company>Darling Data, LLC</Company>
1313
<Copyright>Copyright © 2026 Darling Data, LLC</Copyright>
1414
<ApplicationIcon>EDD.ico</ApplicationIcon>
15+
<RuntimeIdentifier>win-x64</RuntimeIdentifier>
16+
<PublishSingleFile>true</PublishSingleFile>
17+
<SelfContained>true</SelfContained>
18+
<IncludeNativeLibrariesForSelfExtract>true</IncludeNativeLibrariesForSelfExtract>
19+
<PublishTrimmed>false</PublishTrimmed>
20+
<EnableCompressionInSingleFile>true</EnableCompressionInSingleFile>
1521
<EnableNETAnalyzers>true</EnableNETAnalyzers>
1622
<AnalysisLevel>latest-recommended</AnalysisLevel>
1723
<NoWarn>CA1849;CA2007;CA1508;CA1031;CA1001;CA1822;CA1305;CA2100;CA1002;CA1845;CA1861;CA2234;CA1062;CA1823</NoWarn>

0 commit comments

Comments
 (0)