使用VSCode开发和调试.NET Core程序的方法
# 发布Release配置,包括 .net core 运行时,分别发布到 linux 和 windows dotnet publish -c Release --self-contained -r linux-x64 dotnet publish -c Release --self-contained -r win-x64 # 发布Release配置,包括 .net core 运行时,指定目标框架 netcoreapp2.2 dotnet publish -c Release -f netcoreapp2.2 --self-contained -r linux-x64 dotnet publish -c Release -f netcoreapp2.2 --self-contained -r win-x64 # 发布Release配置,不包括 .net core 运行时 dotnet publish -c Release --self-contained false -r linux-x64 dotnet publish -c Release --self-contained false -r win-x64 # 发布Release配置,不包括 .net core 运行时,指定输出目录 dotnet publish -c Release --self-contained false -r linux-x64 -o C:HereSpanypublishlinux-x64 dotnet publish -c Release --self-contained false -r win-x64 -o C:HereSpanypublishwin-x64 虽然 VS 无比强大,VS Code 小清醒,但是 VS Code 灵活扩展性强,用来开发前端或 .NET Core 项目,也是得心应手 到此这篇关于使用VSCode开发和调试.NET Core程序的方法的文章就介绍到这了,更多相关VSCode开发和调试.NET Core内容请搜索脚本之家以前的文章或继续浏览下面的相关文章希望大家以后多多支持脚本之家! (编辑:晋中站长网) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |