I’m very new to PS and I’m trying to uninstall ASP.NET 2.1.27 Runtimes & SDK and 3.1.408 Core SDK. There is no sign of these in programs & features, but they are still registering as both SDK and Runtimes still being installed.
PS C:\program files (x86)\dotnet-core-uninstall> dotnet-core-uninstall list
This tool cannot uninstall versions of the runtime or SDK that areÿ
- SDKs installed using Visual Studio 2019 Update 3 or later.
- SDKs and runtimes installed via zip/scripts.
- Runtimes installed with SDKs (these should be removed by removing that SDK).
The versions that can be uninstalled with this tool are:
.NET Core SDKs:
5.0.104 x64 [Used by Visual Studio. Specify individually or use --force to remove]
.NET Core Runtimes:
ASP.NET Core Runtimes:
.NET Core Runtime & Hosting Bundles:
I’m not having any luck uninstalling it with the dotnet-core-uninstall command. Maybe someone can point out where I’m going wrong?
PS C:\program files (x86)\dotnet-core-uninstall> dotnet-core-uninstall remove --version 2.1.271.2.206301+52c50bd58a6fd9c6d6c905304b68382563e2ec1c
I get the exact same output when I change the “–version” to 3.1.408