dotnet / cli-lab

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.
MIT License
629 stars 56 forks source link

Cannot remove lower patch of hosting bundle #262

Open rfalfaro opened 1 year ago

rfalfaro commented 1 year ago

I just installed .NET 6.0.18 and am trying to remove the hosting bundle 6.0.16. I've tried the following commands: remove --hosting-bundle --all-lower-patches --force remove --hosting-bundle --all-but-latest --force remove --hosting-bundle --major-minor 6.0.16 (will note that this option gives an error: "The specified version is not valid")

I've reset IIS and even rebooted the server after these attempts. However, both versions 6.0.16 and 6.0.18 are still listed after all these attempts. I've also attempted to uninstall 6.0.16 from the Programs and Features UI under Control Panel - all with the same results.

GiviKDev commented 1 year ago

Same, nor even winget uninstall works. Both physical files and registries still exists. Due to this tools like winget shows huge list of hosting bundles and each time when you're trying to upgrade them all nothing happens.