【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
相关推荐
2501_916008898 小时前
iOS应用开发工具全面解析:如何选择与优化开发效率
ide·vscode·ios·objective-c·个人开发·swift·敏捷流程
csdn_aspnet19 小时前
如何将 Cursor MCP 与 VS Code 连接
vscode·cursor·mcp·composio
geovindu19 小时前
CSharp: Flyweight Pattern
开发语言·后端·c#·.net·享元模式·结构型模式
驰骋工作流21 小时前
请假流程:六款.NET工作流引擎实现方式对比
.net·ccflow·工作流引擎二开·.net工作流引擎对比
WarPigs21 小时前
.NET项目app.Config笔记
c#·.net
梦想的颜色1 天前
2026 VibeCoding 工具链精选|IDE + 大模型成套组合推荐,按场景分级收录
ide·trae·ai 编程·vibecoding·国产海外 ai 编程方案·氛围编程成套配置·副业 ai 开发工具栈
小杨小杨、努力变强!1 天前
VS Code运行HBuilder X中的uni-app项目
vscode·uni-app·uni-app run
紫_龙1 天前
window 维护多版本Android studio
android·ide·android studio
曹牧2 天前
Eclipse 批量文本替换
java·ide·eclipse
vistaup2 天前
Android studio 历史版本
android·ide·android studio