Since this tool has a destructive behavior, it's highly recommended that you do a dry run before running the remove command. Versions 1.2 and later can uninstall SDKs and runtimes with version 5.0 or earlier, and previous versions of the tool can uninstall 3.1 and earlier. NET SDKs and Runtimes that are specified by a collection of options. NET SDKs and Runtimesĭotnet-core-uninstall remove uninstalls. NET SDKs below the version 2.2.301: dotnet-core-uninstall whatif -all-below 2.2.301 -sdk NET Runtimes that have been superseded by higher patches: dotnet-core-uninstall dry-run -all-lower-patches -runtimeĭry run of removing all. To include all SDKs and runtimes, list them explicitly as arguments or use the -force option.ĭry run of removing all. In the following examples, some of the specified SDKs and runtimes may not be included in the output, depending on the state of the machine. NET SDKs and runtimes that may be required by Visual Studio or other SDKs are not included in dotnet-core-uninstall dry-run output.
NET SDKs and runtimes: dotnet-core-uninstall list -圆4 NET SDKs and runtimes that can be removed with this tool: dotnet-core-uninstall list NET SDKs and runtimes that can be uninstalled with this tool. NET SDKs that can be uninstalled with this tool. NET Runtimes that can be uninstalled with this tool. NET hosting bundles that can be uninstalled with this tool. Lists all the ASP.NET Runtimes that can be uninstalled with this tool.
NET Uninstall Tool from the tool's releases page and find the source code at the dotnet/cli-lab GitHub repository. The dotnet-core-uninstall list command displays which SDKs can be uninstalled with the tool. NET SDKs and runtimes installed, including those SDKs and runtimes that this tool can't remove. You can use the dotnet -info command to find all of the. On macOS, the tool can only uninstall SDKs and runtimes located in the /usr/local/share/dotnet folder.īecause of these limitations, the tool may not be able to uninstall all of the. The Visual Studio installer in versions earlier than Visual Studio 2019 version 16.3.On Windows, the tool can only uninstall SDKs and Runtimes that were installed using one of the following installers: A collection of options is available to specify which versions you want to uninstall. NET Uninstall Tool ( dotnet-core-uninstall) lets you remove.