【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
相关推荐
界面开发小八哥12 分钟前
界面组件DevExpress WPF中文教程:Grid - 如何获取节点?
.net·wpf·界面控件·devexpress·ui开发
今晚打老虎z1 小时前
dotnet-env: .NET 开发者的环境变量加载工具
前端·chrome·.net
韩初心1 小时前
使用 visual studio 2022 编译 Lua5.4.8
ide·visual studio·lua5.4
myloveasuka2 小时前
信号操作集函数
linux·运维·服务器·c语言·c++·vscode
我是唐青枫2 小时前
C#.NET NLog 详解
开发语言·c#·.net
comeilmforever3 小时前
IDEA2025 Version Control 窗口 local changes显示
java·ide·intellij-idea
一线码农4 小时前
MinHook 如何对 .NET 母体 CoreCLR 进行拦截
c#·.net·代码注入
佛·追命5 小时前
.net wpf混淆
.net·wpf
编程乐趣5 小时前
自学C#,要懂得用好对象浏览器
windows·.net
kiss strong8 小时前
好用的自带AI功能的国产IDE
ide