【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
相关推荐
de之梦-御风11 分钟前
【C#.Net】C#开发的未来前景
开发语言·c#·.net
de之梦-御风1 小时前
【C#.Net】C#在工业领域的具体应用场景
开发语言·c#·.net
Aevget4 小时前
DevExpress WinForms v25.2亮点 - 支持.NET 10 & VS 2026
.net·界面控件·devexpress·ui开发·winforms·vs 2026
weixin_456904274 小时前
在 .NET Framework 4.0 中实现方法超时控制
网络·.net
DowneyJoy6 小时前
【多媒体交互】透明无边框窗口
unity·c#·.net·交互
玩泥巴的6 小时前
深入理解飞书 Webhook 签名验证:一次踩坑到填坑的完整记录
c#·.net·飞书
haiyu柠檬6 小时前
IDEA和VSCode中好用的插件推荐
java·vscode·intellij-idea
wzfj123458 小时前
vscode 安装 Serial Monitor 扩展
vscode·serial
切糕师学AI9 小时前
.Net 中的 ActivatorUtilitiesConstructor 特性
.net
qq_3775727710 小时前
vscode markdown enter键不能添加多个空白行
ide·vscode