【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
相关推荐
唐青枫1 小时前
C#.NET 路由机制深入解析:从传统路由到 Endpoint Routing
c#·.net
谢娘蓝桥12 小时前
Mac 安装 Xcode 及qt 环境安装
ide·macos·xcode
方知我13 小时前
使用VSCode进行SSH远程连接时无法与xxx建立连接
ide·vscode·ssh
重生之我要当编程大佬13 小时前
关于打不开pycharm的解决方法(一)
ide·python·pycharm
香香爱编程14 小时前
electron对于图片/视频无法加载的问题
前端·javascript·vue.js·chrome·vscode·electron·npm
玩泥巴的15 小时前
解放双手!使用Roslyn生成代码让你的 HTTP 客户端开发变得如此简单
c#·.net·代码生成·roslyn
Naiva15 小时前
【小技巧】PyCharm建立项目,VScode+CodeX+WindowsPowerShell开发Python pyQT6 (二)
vscode·python·pycharm
WarPigs16 小时前
Visual Studio笔记
ide·笔记·visual studio
仟濹16 小时前
IDEA 软件下载 + 安装 | 操作步骤
java·ide·intellij-idea
schinber17 小时前
使用pycharm自带debug模式运行flask时报错
ide·pycharm·flask