【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
相关推荐
magic3341656310 小时前
ESP32S3开发环境介绍和创建工程
vscode·c·头文件
萌萌站起10 小时前
Vscode 中 python模块的导入问题
ide·vscode·python
aqiu~11 小时前
VSCode编辑器用于Unity项目
vscode·unity
王夏奇11 小时前
pycharm中3种不同类型的python文件
ide·python·pycharm
ShawnLiaoking12 小时前
pycharm 上传更新代码
ide·elasticsearch·pycharm
~plus~15 小时前
.NET 8 C# 委托与事件实战教程
网络·c#·.net·.net 8·委托与事件·c#进阶
Freak嵌入式15 小时前
MicroPython LVGL基础知识和概念:GUI 的扩展接口
ide·驱动开发·嵌入式·gui·lvgl·micropython·upypi
rockey62719 小时前
AScript动态脚本多语言环境支持
sql·c#·.net·script·eval·function·动态脚本
无限进步_19 小时前
【C++】重载、重写和重定义的区别详解
c语言·开发语言·c++·ide·windows·git·github
ZXF_H20 小时前
VSCode C/C++函数Ctrl+鼠标点击无法跳转的解决方法
c++·ide·vscode