📅  最后修改于: 2022-03-11 14:48:52.846000             🧑  作者: Mango
// self contain publish
dotnet publish -r win-x64 -c Release --self-contained
// publish in signle file
dotnet publish -r win-x64 -c Release /p:PublishSingleFile=true
// publish self contain single file and triming for small size
dotnet publish -r win-x64 -c Release /p:PublishSingleFile=true /p:PublishTrimmed=true