【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
相关推荐
意法半导体STM328 小时前
【官方原创】如何为STM32CubeMX2配置Visual Studio Code配置方案
vscode·stm32·单片机·嵌入式硬件·策略模式·stm32cubemx·嵌入式开发
天疆说10 小时前
在 Ubuntu 的 VSCode 中配置 MATLAB
vscode·ubuntu·matlab
步步为营DotNet1 天前
基于.NET Aspire 实现云原生应用的高效监控与可观测性
云原生·.net·wpf
咸鱼翻身小阿橙1 天前
VS2008 + .NET3.5 环境、加热台TCP通讯场景
tcp/ip·php·.net
春日见1 天前
vscode的AI编程插件推荐:
大数据·ide·vscode·算法·机器学习·编辑器·ai编程
lazy H1 天前
Spring Boot 项目如何连接 Redis?新手入门配置和常见错误总结
ide·spring boot·redis·后端·学习·intellij-idea
2601_962054951 天前
终端与IDE形态的vibe coding实测:两款AI编程工具迭代能力对比
数据库·ide·ai编程
jieshenai1 天前
VScode sys.path,并使CTRL+左键可访问源码
ide·vscode·编辑器
qq_448011161 天前
VSCode环境搭建
ide·vscode·编辑器