dotnet / dotnet/sdk

Improve the diagnostic experience when using preview or unreleased SDKs

Open
#50,659 1 comment 1 reaction 0 assignees View on GitHub
Area-NetSDK cli-ux untriaged
Dominant language
C#
Stars
3.2k
Forks
1.3k
PR merge metrics
PR metrics pending

Description

### Is your feature request related to a problem? Please describe.

When working with nightly builds or other unreleased versions of the .NET SDK, users typically have to add one or more NuGet feeds in order to be able to access versions of core packages that light up specific functionality. Many of these packages are related to use cases that deal with self-contained or runtime-specific applications, but there are increasingly more areas of the product that rely on this mechanism.

Because the nightly/unreleased SDKs point to specific versions of the packages in question, if the correct feeds aren't configured the only indication users get that they have an incomplete or misconfigured SDK is a slew of Restore diagnostics saying that various package versions couldn't be found on the configured feed(s).

While that's probably ok for most external packages, for core packages we can do better. We should be able to know about these critical packs and surface a more directed diagnostic so that users of nightly otherwise-unreleased SDKs have a pointer towards what they need to do.

### Describe the solution you'd like
The SDK should be able to detect missing packages for critical workloads and light up a new diagnostic. That diagnostic should clearly state that the SDK couldn't find its set of core missing packages, and that probably means the NuGet feeds for that SDK aren't properly configured. The diagnostic should direct users to help documentation that guides them towards either adding the relevant nightly feeds, or the internal feeds if using an unreleased SDK.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.