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.
Перейти к файлу
Marc Paine 25e91f1d39
Merge pull request #308 from dotnet/marcpopMSFT-net9support
Increase the upper limit to allow for .net 9 uninstall
2024-10-08 14:32:39 -07:00
.config
eng
src
test Merge pull request #308 from dotnet/marcpopMSFT-net9support 2024-10-08 14:32:39 -07:00
.editorconfig
.gitattributes
.gitignore
.vsts-ci.yml
.vsts-pr.yml
CODE-OF-CONDUCT.md
CONTRIBUTING.md
Directory.Build.props
Directory.Build.rsp
Directory.Build.targets
LICENSE.TXT
NuGet.config
README.md
SECURITY.md
build.cmd
build.sh
global.json
lab.sln

README.md

Uninstall Tool: 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.

Why isnt the .NET Core Uninstall Tool a .NET Core Global Tool?

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 thats running the current process. When this happened, we didnt 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.

Contributing

We welcome you to try things out, file issues, make feature requests and join us in design conversations.

Building the Repository

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)

.NET Foundation

The dotnet-core-uninstall tool is a .NET Foundation project. See the .NET home repo to find other .NET-related projects.

Code of Conduct

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.

License

.NET Core (including this repo) is licensed under the MIT license.

MSBuildBinLogQuery

Work in progress