【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
相关推荐
不爱吃鱼的蔓热莓17 小时前
释放VSCode插件占用系统盘垃圾
ide·vscode·编辑器
2501_9151063220 小时前
iOS开发之Xcode常用调试技巧总结
ide·vscode·ios·objective-c·个人开发·swift·敏捷流程
宝桥南山1 天前
.NET 11 - 尝试一下Minimal API中的异步验证新特性
microsoft·微软·c#·asp.net·.net·.netcore
无风听海1 天前
深入理解.NET中的 Lazy<T>
服务器·php·.net
bing_feilong1 天前
vscode: ssh Got bad result from install script
ide·vscode·ssh
海盗12341 天前
微软技术日报 2026-10-14:十月补丁 1411 个漏洞,.NET 11 交出 RC2
人工智能·microsoft·机器人·aigc·.net
JavaEdge.1 天前
Qodo v.s AI IDE Code Review
ide·人工智能·代码复审
学以智用1 天前
.NET WinForms / WPF / Blazor 模板详解
.net
ITKEY_1 天前
Arduino IDE开发ESP32环境搭建到helloworld
ide·esp32
黄一一9112431 天前
吾爱大佬开发,离线可用!PDF文件处理工具,本地网页版文件-浏览器里就能搞定,所有操作系统可用
windows·安全·阿里云·pdf·.net·开源软件