-
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
Upgrading Microsoft.DotNet.SDK.7 leaves older version in the system and makes new one not fully visible to winget #2971
Comments
We have an experimental feature to "Uninstall Previous". Run |
Just wanted to let you know that recently and today I was upgrading Microsoft.DotNet.SDK.6 and Microsoft.DotNet.SDK.7 via winget and there were no remnants of older versions afterward. Not sure what changed since then. I was not enabling any experimental features. |
Correcting my previous statement, because maybe I simply forgot I uninstalled them manually back then, not sure...
|
It's like back and forth with this. Today upgrade didn't leave any old .NET afterward, which I also confirmed by looking at Installed apps (or
|
Brief description of your issue
Upgrading Microsoft.DotNet.SDK.7 via winget (that was in the past also installed via winget) leaves older version in the system and makes new one not fully visible to winget.
Steps to reproduce
Having Microsoft.DotNet.SDK.6 already installed may or may not matter (hard to tell).
Upgrade Microsoft.DotNet.SDK.7 via
winget upgrade --all
.(
winget upgrade Microsoft.DotNet.SDK.7
would possibly give the same result.)Expected behavior
Older Microsoft.DotNet.SDK.7 is uninstalled.
Newer Microsoft.DotNet.SDK.7 is installed.
Microsoft.DotNet.SDK.7 remains fully visible/controllable from winget.
Actual behavior
Older Microsoft.DotNet.SDK.7 is not uninstalled.
Newer Microsoft.DotNet.SDK.7 is installed.
http://paste.przemoc.net/winget/WinGet-2023-02-15-11-59-13.872.log - log from
winget upgrade --all
(I do not have terminal dump as I did not expect issues, so wasn't as cautious as I should be)Microsoft.DotNet.SDK.7 is seemingly not visible from winget.
But shows up in full
list
:And still shows up in
upgrade
:Environment
The text was updated successfully, but these errors were encountered: