-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Visual Studio provided .NET SDK is not considered when dependencies need the SDK #4201
Comments
This comment was marked as off-topic.
This comment was marked as off-topic.
The manifest is intentionally displaying 8.0.200 for the user and mapping to 8.2.24.6925 in the registry. WinGet is essentially ignoring the value in parenthesis in the Display Name for historical reasons (the values can be arbitrary and aren't considered authoritative compared with other registry values). We're working on additional improvements in this area. |
LINQPad is declaring a dependency on the .NET SDK. The latest version is the one WinGet is defaulting to. Once the matching issue is resolved, WinGet would still likely attempt to upgrade the .NET SDK in this case (unless the package was pinned). |
Just to clarify: the Visual Studio provided SDK is updated by the Visual Studio Installer, not WinGet1. So updating LINQPad would update Visual Studio? That would be fine with me; I'm just trying to understand how updating it would work.
|
Brief description of your issue
When a package depends on the .NET SDK, the Visual Studio provided copy is not considered. Instead, winget needlessly installs a separate copy of the SDK.
winget list
does show the Visual Studio copy:The SDK is not matched to
Microsoft.DotNet.SDK.8
, and the version is also wrong.Steps to reproduce
Microsoft.DotNet.SDK.8
Expected behavior
winget would consider the Visual Studio provided copy as satisfying the dependency.
Actual behavior
It doesn't.
Environment
The text was updated successfully, but these errors were encountered: