【VSCode】CMake Language Support 总是下载 .NET 超时,但又不想升级dotnet

错误信息

复制代码
Error: Could not resolve dotnet path!

An error occurred while installing .NET (6.0): .NET Acquisition Failed: Installation failed: Error: .NET installation timed out. You may need to change the timeout time if you have a slow connection. 
Please see: https://github.com/dotnet/vscode-dotnet-runtime/blob/main/Documentation/troubleshooting-runtime.md#install-script-timeouts. Note that our websites may be blocked in China or experience significant timeouts, and you may want to install .NET manually.

配置

进入 VSCode 设置,进入拓展 CMake Language Support 配置 Dotnet Path

复制代码
C:/Program Files/dotnet/dotnet.exe
相关推荐
_考不上研究生不改名5 小时前
【完美解决】VSCode连接HPC节点,已配置密钥却还是提示需要输入密码
linux·服务器·vscode·远程连接·hpc·超算集群
Java&Develop6 小时前
idea里面不能运行 node 命令 cmd 里面可以运行咋回事啊
java·ide·intellij-idea
你们补药再卷啦7 小时前
不用额外下载jar包,idea快速查看使用的组件源码
java·ide·intellij-idea
OKXLIN7 小时前
XCode集成第三方framework步骤
ide·macos·framework·xcode
高山莫衣9 小时前
VSCode中Marp插件
ide·vscode·编辑器
专注VB编程开发20年10 小时前
VB.NET Asp.Net Core模板WebAPI应用-宝塔面板Linux系统通过Docker部署
linux·docker·.net
花之亡灵10 小时前
.net6 中实现邮件发送
笔记·c#·.net·代码规范
love530love11 小时前
PyCharm Community社区版链接WSL虚拟环境
ide·python·pycharm
无情的搬砖机器14 小时前
idea 打不开terminal
java·ide·intellij-idea
集成显卡14 小时前
AI | 字节跳动 AI 中文IDE编辑器 Trae 初体验
ide·人工智能·vscode·编辑器