加入收藏 | 设为首页 | 会员中心 | 我要投稿 湖南网 (https://www.hunanwang.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 编程 > 正文

使用VSCode开发和调试.NET Core程序的方法

发布时间:2020-05-10 19:24:22 所属栏目:编程 来源:站长网
导读:副问题#e# 电脑不想装几十个G的 VS2017,那就用 VS Code 吧 方针: 建设一个类库项目 Skany.Core,并用 Nuget 引用第三方组件 Hash 实现加密算法 建设一个单位测试项目 Skany.Tests,引用类库 Skany.Core,并测试个中的要领 建设一个节制台应用措施项目 Ska

# 宣布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内容请搜刮剧本之家早年的文章或继承赏识下面的相干文章但愿各人往后多多支持剧本之家!

(编辑:湖南网)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

热点阅读