A guided tool will be provided to enable the controlled clean up of a system such that only the desired versions of the Runtime and SDKs remain.
622
stars
56
forks
source link
dotnet-core-uninstall list returns different information than dotnet --list-runtimes #271
Open
blakeduffey opened 1 year ago
Trying to remove END OF LIFE versions (which are flagged as a security finding)
The two commands return different values (meaning dotnet-core-uninstall cannot remove an older version)
PS C:\Program Files (x86)\dotnet-core-uninstall> dotnet --list-runtimes Microsoft.NETCore.App 6.0.23 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App] Microsoft.WindowsDesktop.App 6.0.23 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
While
PS C:\Program Files (x86)\dotnet-core-uninstall> .\dotnet-core-uninstall.exe list
This tool cannot uninstall versions of the runtime or SDK that are
.NET Core SDKs:
.NET Core Runtimes:
ASP.NET Core Runtimes:
.NET Core Runtime & Hosting Bundles:
Is there a way to use the uninstaller to remove all legacy versions?