How to Create Framework-Dependent Executables with .NET Core 2.2

别等时光非礼了梦想. 提交于 2019-12-04 03:28:15

The way to do this is to specify a runtime identifier and then --self-contained false:

dotnet publish -c Release -r win-x64 --self-contained false

This will generate an executable without including the whole .NET Core framework.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!