update<Build>: remove -p:PublishReadyToRun to reduce package size

This commit is contained in:
leo 2021-04-06 16:36:44 +08:00
parent 1366d8e858
commit 5dd8a12019

View file

@ -5,5 +5,5 @@ dotnet publish --nologo -c Release -r win-x64 -p:PublishSingleFile=true --no-sel
rmdir /s /q bin rmdir /s /q bin
rmdir /s /q obj rmdir /s /q obj
dotnet publish --nologo -c Release -r win-x64 -p:PublishSingleFile=true -p:PublishReadyToRun=true -p:IncludeNativeLibrariesForSelfExtract=true -p:PublishTrimmed=true -p:TrimMode=link --self-contained -o ../publish/SourceGit dotnet publish --nologo -c Release -r win-x64 -p:PublishSingleFile=true -p:IncludeNativeLibrariesForSelfExtract=true -p:PublishTrimmed=true -p:TrimMode=link --self-contained -o ../publish/SourceGit
cd .. cd ..