Net Core Winform打包单体应用
作者:互联网
1 最普通的发布
dotnet publish -r win-x64 -c Release -o ./bin/output
2 打包,包含框架
dotnet publish -r win-x64 -c Release -o ./bin/single /p:PublishSingleFile=true
3 打包,削减无用的文件(不适合winform之类的程序)
dotnet publish -r win-x64 -c Release -o ./bin/single /p:PublishSingleFile=true /p:PublishTrimmed=true
参考文章 https://baijiahao.baidu.com/s?id=1671694782936042392&wfr=spider&for=pc
标签:bin,Core,win,x64,publish,Release,Net,true,Winform 来源: https://www.cnblogs.com/wang2650/p/15830283.html