remove unused PublishSingleFile directive

This commit is contained in:
Robert McRackan 2021-06-17 11:45:44 -04:00
parent 6ed4eb34bd
commit 96abf56a87
2 changed files with 2 additions and 3 deletions

View File

@ -8,7 +8,6 @@
<PublishTrimmed>true</PublishTrimmed> <PublishTrimmed>true</PublishTrimmed>
<PublishReadyToRun>true</PublishReadyToRun> <PublishReadyToRun>true</PublishReadyToRun>
<!-- <PublishSingleFile>true</PublishSingleFile> -->
<RuntimeIdentifier>win-x64</RuntimeIdentifier> <RuntimeIdentifier>win-x64</RuntimeIdentifier>
</PropertyGroup> </PropertyGroup>

View File

@ -42,14 +42,14 @@ dotnet publish -c Release
OPTION 3: cmd line, custom OPTION 3: cmd line, custom
open csproj open csproj
remove: PublishTrimmed, PublishReadyToRun, PublishSingleFile, RuntimeIdentifier remove: PublishTrimmed, PublishReadyToRun, RuntimeIdentifier
run customized publish. examples: run customized publish. examples:
publish all platforms publish all platforms
dotnet publish -c Release dotnet publish -c Release
publish win64 platform only publish win64 platform only
dotnet publish -r win-x64 -c Release dotnet publish -r win-x64 -c Release
publish win64 platform, single-file publish win64 platform, single-file
dotnet publish -r win-x64 -c Release /p:PublishSingleFile=true dotnet publish -r win-x64 -c Release
-- end HOW TO PUBLISH --------------------------------------------------------------------------------------------------------------------- -- end HOW TO PUBLISH ---------------------------------------------------------------------------------------------------------------------
-- begin IMAGES --------------------------------------------------------------------------------------------------------------------- -- begin IMAGES ---------------------------------------------------------------------------------------------------------------------