winget install --id=Microsoft.dotnetUninstallTool -e
Tool to uninstall versions of the .Net Core SDK, Runtime, ASP.Net Core Runtime, and Hosting Bundles.
dotnet-core-uninstall
This repo contains the dotnet-core-uninstall
tool, a command line tool for uninstalling versions of the .NET Core SDK, Runtime, ASP.NET Core Runtime, and Hosting Bundles. For more information about the use of this tool, see the docs here. To download the latest version of the tool, see the releases page.
An early prototype of the .NET Core Uninstall Tool was a .NET Core Global Tool. Since .NET Core Global Tools are runtime-dependent applications they use a version of the .NET Core Runtime that is installed on the machine. The purpose of the tool is to uninstall arbitrary .NET Core SDKs and Runtimes, so may attempt to uninstall the version that’s running the current process. When this happened, we didn’t find a way to recover from the error and uninstall other SDKs and Runtimes. We saw this as particularly problematic because users might not be clear what runtimes are in SDKs that are being uninstalled or which runtime is currently being used.
We welcome you to try things out, file issues, make feature requests and join us in design conversations.
Run the build script at the root of the repo (build.sh or build.cmd) and provide a runtime identifier (for example, on windows run build /p:RID=win-x86)
The dotnet-core-uninstall
tool is a .NET Foundation project. See the .NET home repo to find other .NET-related projects.
This project has adopted the code of conduct defined by the Contributor Covenant to clarify expected behavior in our community. For more information, see the .NET Foundation Code of Conduct.
.NET Core (including this repo) is licensed under the MIT license.
Work in progress