【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
相关推荐
JavaEdge.3 小时前
IDEA卡死没反应的全部解决方案
java·ide·intellij-idea
WebRuntime4 小时前
问世间,exe是何物?直教AI沉默、Web寡言(4)
javascript·c#·.net·web
缺点内向5 小时前
如何在 C# 中将 Word 文档转换为 EMF(增强型图元文件)
开发语言·c#·word·.net
zq322061245 小时前
若依VUE和NET8的意框架部署到IIS
vue·.net
wanzhong23335 小时前
解决vscode在win下使用cuda无法跳转库函数的问题
ide·vscode·编辑器·cuda·高性能计算
何小义的AI进阶路7 小时前
win下 vscode下 C++和opencv的配置与使用
c++·图像处理·vscode·opencv
weixin_404679319 小时前
vscode 配置cpp调试环境
数据库·ide·vscode·编辑器
weixin_404679319 小时前
解决vscode, cpp库包找不到问题
ide·vscode·编辑器
人工智能训练10 小时前
Ubuntu 系统安装 VSCode 超全指南(3 种方法,适配 20.04/22.04 LTS)
linux·运维·服务器·vscode·ubuntu
失心疯_202310 小时前
Pycharm打开Terminal终端无法自动进入项目虚拟环境
ide·python·pycharm·虚拟环境·terminal