Skip to content

Commit

Permalink
Merge pull request #82 from jakobhellermann/publish-single-file-debug
Browse files Browse the repository at this point in the history
only enable PublishSingleFile in release mode
  • Loading branch information
psyGamer authored Sep 5, 2024
2 parents e3db2c0 + 4e26f71 commit 3b7285a
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions Studio/CelesteStudio.WPF/CelesteStudio.WPF.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,14 @@
<UseWPF>true</UseWPF>
<UseWindowsForms>true</UseWindowsForms>
<ApplicationIcon>Icon.ico</ApplicationIcon>

<PublishSingleFile>true</PublishSingleFile>
<SelfContained>true</SelfContained>
<DebugType>embedded</DebugType>
</PropertyGroup>

<PropertyGroup Condition="'$(Configuration)' != 'Debug'">
<PublishSingleFile>true</PublishSingleFile>
</PropertyGroup>

<ItemGroup>
<TrimmableAssembly Include="MyAssembly" />
</ItemGroup>
Expand Down

0 comments on commit 3b7285a

Please sign in to comment.