Skip to content

Commit e033e0e

Browse files
Merge pull request #300 from erikdarlingdata/fix/gui-installer-single-file
Fix GUI installer: publish as single-file self-contained exe
2 parents b8b0d63 + 82aa75e commit e033e0e

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)