【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
相关推荐
公子小六11 小时前
基于.NET的Windows窗体编程之WinForms滑块与上下控件
windows·microsoft·c#·.net·winforms
OsDepK13 小时前
xcode应用构建至testflight测试流程
ide·macos·xcode
frjc14 小时前
如何在 IDEA 中打开并运行已有Java项目
java·ide·intellij-idea
Lost of 程序猿19 小时前
.NET 线程安全集合与并发数据结构深度实战:从 lock 到无锁
数据结构·安全·.net
CounterGlew51119 小时前
Vscode通过ssh链接autodl云服务器并配置codex
运维·服务器·vscode
女神下凡20 小时前
PyCharm 2026破解激活
ide·python·pycharm
谁刺我心20 小时前
【vscode问题】远程remote cpptools导致linux板子cpu爆炸问题
ide·vscode·编辑器
rockey6271 天前
AScript之编译递归函数
c#·.net·script·动态脚本
陈珙2 天前
.NET AI 实战:用 MCP 把 Claude Code 变成数据库 DBA
架构·.net·技术
LaughingZhu2 天前
Product Hunt 每日热榜 | 2026-09-02
java·ide·intellij-idea