【VSCode】CMake Language Support 总是下载 .NET 超时,但又不想升级dotnet

错误信息

【VSCode】CMake Language Support 总是下载 .NET 超时,但又不想升级dotnet_第1张图片

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

【VSCode】CMake Language Support 总是下载 .NET 超时,但又不想升级dotnet_第2张图片

你可能感兴趣的:(vscode,.net,ide)