Merhabalar. Yazılımda yeniyim ve vs kullanıyorum sanırım bazı eklentiler için .net diye bir şey indirmemiz gerekiyor ama ben böyle bir hata alıyorum nasıl çözebilirim?
An error occurred while installing .NET (8.0): .NET Acquisition Failed: .NET install timed out. You should change the timeout if you have a slow connection. See:
vscode-dotnet-runtime/Documentation/troubleshooting-runtime.md at main · dotnet/vscode-dotnet-runtime. Our CDN may be blocked in China or experience significant slowdown, in which case you should install .NET manually., MESSAGE: Command failed: powershell.exe -NoProfile -NonInteractive -NoLogo -ExecutionPolicy unrestricted -Command "& { [Net.ServicePointManager]::SecurityProtocol = [Net.ServicePointManager]::SecurityProtocol -bor [Net.SecurityProtocolType]::Tls12; & 'c:\Users\admin\.vscode\extensions\ms-dotnettools.vscode-dotnet-runtime-2.1.7\dist\install scripts\dotnet-install.ps1' -InstallDir 'c:\Users\admin\AppData\Roaming\Code\User\globalStorage\ms-dotnettools.vscode-dotnet-runtime\.dotnet\8.0.8~x64' -Version 8.0.8 -Verbose -Runtime dotnet -Architecture x64 }" dotnet-install: Downloading from "primary"...
Çözemediğiniz için teşekkürler. şu kodu setting.json dosyasına atarak sorunu çözebilirsiniz
"dotnetAcquisitionExtension.existingDotnetPath": [
{
"extensionId": "ms-dotnettools.csdevkit",
"path": "C:\\Program Files\\dotnet\\dotnet.exe"
},
{
"extensionId": "ms-dotnettools.vscodeintellicode-csharp",
"path": "C:\\Program Files\\dotnet\\dotnet.exe"
},
{
"extensionId": "ms-dotnettools.csharp",
"path": "C:\\Program Files\\dotnet\\dotnet.exe"
},
{
"extensionId": "ms-dotnettools.vscode-dotnet-runtime",
"path": "C:\\Program Files\\dotnet\\dotnet.exe"
},
{
"extensionId": "visualstudiotoolsforunity.vstuc",
"path": "C:\\Program Files\\dotnet\\dotnet.exe"
}
]