【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
相关推荐
BD_Marathon2 小时前
安装Jupyter notebook
ide·python·jupyter
2395730499 小时前
在 Avalonia 12 上用纯 .NET 重写 Monaco 编辑器:TKCode.Arc CodeEditor / DiffEditor / LSP 深度架构与实战
c#·.net·lsp·avalonia·monaco·codeeditor·tkcode.arc
Jeff-Tsai14 小时前
一张表单,能不能只描述一次?
.net·erp·avalonia·definition-driven
新*15 小时前
在 .NET 里嵌入 IronPython:内存只涨不降的真相与正确的封装姿势
c#·.net·内存优化·ironpython·dlr
IT规划师18 小时前
Redis 核心机制 | 发布订阅:Pub_Sub 与 Sharded PubSub
redis·.net
宝桥南山1 天前
Visual Studio - 记录一个Visual Studio 2026(Insiders)的更新问题
windows·microsoft·微软·.net·.netcore·visual studio
Jeff-Tsai1 天前
Day 30:三段开发深度与框架全图
.net·架构设计·erp·definition-driven
讓丄帝愛伱1 天前
Zed Markdown 预览不能铺满全屏的原因及解决
ide
Jeff-Tsai2 天前
Day 29:定义、框架与应用代码各负责哪一段
.net·架构设计·erp·definition-driven
BD_Marathon2 天前
Jupyter魔法命令
ide·python·jupyter