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

发布时间:2024年01月05日

错误信息

在这里插入图片描述

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

文章来源:https://blog.csdn.net/LABLENET/article/details/135402382
本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。