使用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内容请搜刮剧本之家早年的文章或继承赏识下面的相干文章但愿各人往后多多支持剧本之家! (编辑:湖南网) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |