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
221 stars 10 forks source link

[BUG] .NET version 6.0.425 error #1428

Closed kojhack closed 1 week ago

kojhack commented 1 week ago

Describe the Issue

An error occurred while installing .NET: .NET Acquisition Failed: The distro Ubuntu 20.04 does not officially support dotnet version 6.0.425., Error: The distro Ubuntu 20.04 does not officially support dotnet version 6.0.425. at t.LinuxVersionResolver.next (/home/codespace/.vscode-remote/extensions/vscode-dotnet-runtime-library/dist/Acquisition/LinuxVersionResolver.js:235:23) at Generator.next () at s (/home/codespace/.vscode-remote/extensions/vscode-dotnet-runtime-library/dist/Acquisition/LinuxVersionResolver.js:5:58)

Steps To Reproduce

No response

Expected Behavior

No response

Environment Information

No response

nagilson commented 1 week ago

May you download .NET 8 or 7 instead? This is unfortunately the case with the way .NET installs work on this version of Ubuntu. You can manually install 6 with a more complicated process if you need 6.

https://learn.microsoft.com/en-us/dotnet/core/install/linux-ubuntu