【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
相关推荐
悟能不能悟2 小时前
如何打开2个notepad++
ide
wVelpro3 小时前
如何在Pycharm 2025.3 版本实现虚拟环境“Make available to all projects”
linux·ide·pycharm
永远是我的最爱6 小时前
基于.NET的小小便利店前台收银系统
前端·sqlserver·.net·visual studio
jun_bai6 小时前
VSCode使用
ide·vscode·编辑器
猫头虎7 小时前
OpenClaw-VSCode:在 VS Code 里玩转 OpenClaw,远程管理+SSH 双剑合璧
ide·vscode·开源·ssh·github·aigc·ai编程
菜鸟特工0077 小时前
javax.net.ssl.SSLPeerUnverifiedException 异常如何处理
网络协议·.net·ssl
牧马人win9 小时前
Dapper轻量级扩展库SmartDapper
.net·dapper
手揽回忆怎么睡9 小时前
opencode和TRAE使用Superpowers 和ui-ux-pro-max skillls
ide·ui·ai·ux
CaracalTiger9 小时前
OpenClaw-VSCode:在 VS Code 中通过 WebSocket 远程管理 OpenClaw 网关的完整方案
运维·ide·人工智能·vscode·websocket·开源·编辑器
吹牛不交税10 小时前
安装Framework4.0时提示:Microsoft .NET Framework 4 已是此操作系统的一部分。不需要安装 .NET Framework
microsoft·.net