Single file publishing for release builds

This commit is contained in:
Erik Simon 2022-12-07 19:22:07 +01:00
parent 1cd7cb5c06
commit cc08ce8f2a
1 changed files with 5 additions and 1 deletions

View File

@ -6,7 +6,11 @@
<ImplicitUsings>enable</ImplicitUsings> <ImplicitUsings>enable</ImplicitUsings>
<Nullable>disable</Nullable> <Nullable>disable</Nullable>
</PropertyGroup> </PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'">
<PublishSingleFile>true</PublishSingleFile>
</PropertyGroup>
<ItemGroup> <ItemGroup>
<PackageReference Include="Newtonsoft.Json" Version="13.0.1" /> <PackageReference Include="Newtonsoft.Json" Version="13.0.1" />
<PackageReference Include="ppy.SDL2-CS" Version="1.0.596-alpha" /> <PackageReference Include="ppy.SDL2-CS" Version="1.0.596-alpha" />