microsoft / vscode-dotnettools

This is a feedback repository to capture issues logged for the C# Dev Kit and related extensions from Visual Studio Code
Other
231 stars 13 forks source link

[BUG] <Install New .NET SDK> #1468

Open SleepingCarcass opened 1 month ago

SleepingCarcass commented 1 month ago

Describe the Issue

Trying to Install New .NET SDK version 8.0.4 573258

Steps To Reproduce

On Windows 11, in Visual studio code, in new project, Trying to Install New .NET SDK version 8.0.4 like in tutorial https://learn.microsoft.com/ru-ru/training/modules/install-configure-visual-studio-code/6-exercise-install-dotnet

Expected Behavior

expected installed .NET SDK version 8.0.401

Environment Information

No response

nagilson commented 1 month ago

Which version of the .NET Install Tool do you have? Is your registry in a different language besides english? This looks like a bug that has been fixed for a while, please try updating the install tool in the extensions tab.

bramnet commented 1 month ago

I've been having a similar problem. I just installed .NET through the .NET Install Tool (version 2.1.5) and when I try to run a command (like NuGet: Add NuGet Package...) it prompts me to install .NET 8.0.200 or newer, and I just installed it through the .NET Install Tool (tried installing manually through dotnet.microsoft.com as well, no changes). I tried closing VS Code and reopening, no changes. Running Win11 23H2 VSCode info: Version: 1.93.1 (user setup) Commit: 38c31bc77e0dd6ae88a4e9cc93428cc27a56ba40 Date: 2024-09-11T17:20:05.685Z Electron: 30.4.0 ElectronBuildId: 10073054 Chromium: 124.0.6367.243 Node.js: 20.15.1 V8: 12.4.254.20-electron.0 OS: Windows_NT x64 10.0.22631

nagilson commented 2 weeks ago

Please try version 2.2.1 and see if it fixes your issue.