-
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
Wrong .NET SDK version number when using winget upgrade #3070
Comments
Oh, sorry, I didn't find those other issues because I was searching for .NET SKD and both of those issues talk about the runtime. |
No worries. We've identified a fix for a few scenarios. I'm trying to map "Area-Matching" to help group these related issues together so we can see which ones are addressed. |
👍 |
Some folder left behind after upgrading to 7.0.201 |
Also seems to happen for a PowerShell Preview, currently my PowerShell shows:
|
This comment was marked as off-topic.
This comment was marked as off-topic.
Okay, thanks 👍 |
A bit more information: When running
|
@CanePlayz same like for me with the .net runtime where list shows IDs correctly, but upgrade command treats 6 runtime as 7 runtime. |
Yeah, it's all just a big mess right now and all over the place. |
Interestingly, it works on my Surface:
|
It might be worth looking into more feedback, cause it seems to be working on my PC now too! Did you change anything with those packages that could have done this? |
for me the issue with Dotnet Runtime is still the same even after this weeks patchday. |
How about now? |
since November 2023 and installing .net 8 it works for me on that 1 laptop that suffered the issue for over 1 year. |
Great, then I will close this issue. |
doe it work for you now, too for the SDKs? |
Yup, been working for quite a while now |
just noticed that on one system I see the SDK mismatch again where 6.0.419 is detected as Mirosoft.DotNet.SDK.7 and offers 7.0.406 as upgrade |
Brief description of your issue
winget list
does correctly detect the versions of the .NET SDK that I have installed by using the manifest field which matches version from Apps & Features with actual version numbers.However, when I run
winget upgrade
, it offers an update and mixes up .NET 6 and 7 as you can see by the different name and ID.Steps to reproduce
Have different .NET SDKs installed and run
winget upgrade
Expected behavior
Show the right version number and don't offer an update
Actual behavior
Shows wrong version number and offers an update
Environment
The text was updated successfully, but these errors were encountered: