Skip to content

dotnet 打包

bash
dotnet publish --runtime osx-x64 -p:PublishSingleFile=true --self-contained true -c release
dotnet publish --runtime osx.12-arm64 -p:PublishSingleFile=true --self-contained true -c release
dotnet publish --runtime win-x86 -p:PublishSingleFile=true --self-contained true -c release
dotnet publish --runtime win-x64 -p:PublishSingleFile=true --self-contained true -c release
dotnet publish --runtime win-arm64 -p:PublishSingleFile=true --self-contained true -c release