Update .NET Core publish policy to create trimmed single-file executables

This commit is contained in:
Katy Coe
2019-10-22 16:23:36 +02:00
parent bfc6409526
commit 6075358dfe
3 changed files with 15 additions and 8 deletions

View File

@@ -3,6 +3,10 @@
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>netcoreapp3.0</TargetFramework>
<PublishSingleFile>true</PublishSingleFile>
<PublishTrimmed>true</PublishTrimmed>
<RuntimeIdentifier>win-x64</RuntimeIdentifier>
</PropertyGroup>
<ItemGroup>