-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Microsoft .NET SDK 6.0.412 (x64) is detected as Microsoft.DotNet.SDK.7 < 7.0.100 #3480
Comments
I'm running in a corporate environment under an unprivileged account, entering privileged account credentials when prompted by the installer. I'm not able to run winget itself under the privileged account, because that results in this error:
Even getting that far under that account was a huge battle because winget doesn't have a simple installer. After trying a bunch of suggestions in #1861, I've gotten it only this far. Under that account,
Under that account,
|
[Policy] Area-Matching |
Hello @BrianL-STCU, We've identified this as a duplicate of another issue or PR that already exists. This specific instance is being closed in favor of the linked issue. Please add your 👍 to the other issue to raise its priority. Thanks for your contribution! Template: msftbot/duplicate/closed |
Hello @BrianL-STCU, We've identified this as a duplicate of another issue or PR that already exists. This specific instance is being closed in favor of the linked issue. Please add your 👍 to the other issue to raise its priority. Thanks for your contribution! Template: msftbot/duplicate/closed |
Brief description of your issue
Microsoft .NET SDK 6.0.412 (x64) is incorrectly identified as
Microsoft.DotNet.SDK.7
version< 7.0.100
, triggering an install ofMicrosoft.DotNet.SDK.7
version7.0.306
every time I runwinget upgrade --all
, which is already installed.Steps to reproduce
winget upgrade --all
Expected behavior
The .NET 6 SDK should be detected as
Microsoft.DotNet.SDK.6
with an accurate version, or ignored.Before installing a package version, a system check for that package should be made to avoid slowly downloading and installing a large package version that is already installed, in case multiple installations end up mapping to the same package, which has been a recurring issue for winget.
Actual behavior
The presence of the .NET 6 SDK triggers the reinstall of the .NET 7 SDK each time
winget upgrade --all
is executed.Environment
The text was updated successfully, but these errors were encountered: