.net core跨平台发布至centos7

在要发布的项目目录下输入发布命令

dotnet publish -r centos.7-x64

发布成功后,文件位于xxx\bin\Debug\netcoreapp2.0\centos.7-x64\publish\中

ps:注意提前在centos中安装好.net core运行环境

posted @ 2018-04-15 22:58  nerocloud  阅读(520)  评论(0编辑  收藏  举报