remove unused PublishSingleFile directive
This commit is contained in:
parent
6ed4eb34bd
commit
96abf56a87
@ -8,7 +8,6 @@
|
||||
|
||||
<PublishTrimmed>true</PublishTrimmed>
|
||||
<PublishReadyToRun>true</PublishReadyToRun>
|
||||
<!-- <PublishSingleFile>true</PublishSingleFile> -->
|
||||
<RuntimeIdentifier>win-x64</RuntimeIdentifier>
|
||||
</PropertyGroup>
|
||||
|
||||
|
||||
@ -42,14 +42,14 @@ dotnet publish -c Release
|
||||
|
||||
OPTION 3: cmd line, custom
|
||||
open csproj
|
||||
remove: PublishTrimmed, PublishReadyToRun, PublishSingleFile, RuntimeIdentifier
|
||||
remove: PublishTrimmed, PublishReadyToRun, RuntimeIdentifier
|
||||
run customized publish. examples:
|
||||
publish all platforms
|
||||
dotnet publish -c Release
|
||||
publish win64 platform only
|
||||
dotnet publish -r win-x64 -c Release
|
||||
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 ---------------------------------------------------------------------------------------------------------------------
|
||||
|
||||
-- begin IMAGES ---------------------------------------------------------------------------------------------------------------------
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user