remove unused PublishSingleFile directive
This commit is contained in:
parent
6ed4eb34bd
commit
96abf56a87
@ -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>
|
||||||
|
|
||||||
|
|||||||
@ -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 ---------------------------------------------------------------------------------------------------------------------
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user