美文网首页
配置VScode环境Downloading the.NET Ru

配置VScode环境Downloading the.NET Ru

作者: 随遇而安_cc | 来源:发表于2023-08-22 08:21 被阅读0次

1.问题

VScode 开发 netcore7.0 项目是,打开vscode后就提示下载 .Net Runtime,且报错。


image.png

2.解决方法

1.在我们本地自行下载并安装好了对应版本的.net
2.打开VScode的 扩展插件栏 Extensions
3.按照下图流程找到.NET Install Tool for Extension Authors
4.找到Edit in settings.json 按钮

{
"dotnetAcquisitionExtension.existingDotnetPath": [
{
"extensionId": "ms-dotnettools.csharp",
"path": "C:\Program Files\dotnet\dotnet.exe"
}
]
}

保存文件后关闭VScode,再次打开就会发现问题解决了

相关文章

网友评论

      本文标题:配置VScode环境Downloading the.NET Ru

      本文链接:https://www.haomeiwen.com/subject/cahymdtx.html