![]() -major-minor, deletes all the version of the specified major.minor.-all-previews-but-latest, just keeps the more recent preview (useful when testing pre-releases).-all-previews, deletes all preview versions.-all-lower-patches, deletes all versions for which there is a higher patch.-all-but, deletes everything but the specified versions.-all-below, deletes all versions below the one specified.And here comes the dry-run command, which lists the versions that would be deleted by the remove command when called with the same options. But before you delete everything by mistake, you might want to see what each option does. The uninstall tool has a series of options to do a bulk delete. If you have multiple version installed, you probably don't want to delete them individually. ![]() Or -圆4 or -x86 to filter based on the architecture.Īs you can see, some runtimes and on SDK are marked as not safe to remove. You can use the options -sdk or -runtime to just show either the SDKs or the runtimes. The list command shows all the SDKs and runtimes you have installed. NET Core Uninstall ToolĪfter you installed it, there are a few commands you can run: If you wanted to get rid of the old version, you had to go and manually delete the content of the folders on Mac and via the "Add or Remove Programs" on Windows.īut now you can have a tool to do it for you, the. If you run the following command on your terminal you can see all the runtimes and SDKs installed on your machine: dotnet -list-sdksĪnd 8 versions of the ASP.NET Core runtime and 13 versions of the NETCore runtime. dotnet-core-uninstall remove -sdk -allīut if you want to understand more, please keep on reading. dotnet-core-uninstall remove -runtime -all Just install the tool, and launch the following command to remove all that is not needed. NET Core used to be a tedious process, so much that I had 1.0 and previews of 2.0 still installed.īut now it's super easy thanks to the newly released. Thursday, Manetcore How to uninstall old versions of.
0 Comments
Leave a Reply. |