Open timheuer opened 1 month ago
Is the ask to not depend on .NET SDK or to fail gracefully when the required version is not installed?
Currently, we fail gracefully if the required .NET SDK version is not installed on the user's machine, and we offer guidance on what version is required and how to install it.
The impact here in having a strong dependency is that with the new changes to certain Linux distros, the acquisition ofr a .2xx SDK will not be intuitive, nor does the SDK acquisition pack handle these any more. So it will be a manual step to get that SDK, and has potential to impact the user's machine in other ways as we've seen.
The goal would be to prevent this. If "fail gracefully" means that nobody gets NuGet commands, that feels bad.
@jebriede, the 'needs-more-info' label has been removed upon receiving further response from the original bug filer.
From vscode-csharp created by richlander: dotnet/vscode-csharp#7006
This came from a discussion of possible new features taking a dependency on feature-band SDK capabilities
Linux distros that offer .NET (as a general rule) only offer
.1xx
feature band SDK versions. We've put a lot of effort into making Linux distros successful with source build. Source build is.1xx
only. We want people to be happy and satisfied with using the .NET that is available in RHEL, Ubuntu, and friends.As a result, we need a policy that any DevKit features that rely on
.2xx+
functionality fail gracefully when using a.1xx
SDK.