Is there a way to uninstall dotnet core manually?


I don't know when dotnet core 2.1.509 on my computer can't be worked, maybe windows 10 upgrade caused. When I use this version of the sdk, it returns the error "Failed to initialize CoreCLR, HRESULT: 0x80070057".

At first, I installed the 2.1.509 sdk again, but the problem remained unresolved. So I decided to uninstall the SDK before reinstalling it. Then the troublesome thing arose at this point, when I opened the uninstall interface and clicked Uninstall, an error messagebox pops up: No action was taken as a system reboot is required. But when I restart my computer and then try to uninstall, i still have the same problem.

I also tried the dotnet-core-uninstall tool to uninstall, from which you can see that 2.1.509 is installed by vs2017, but my computer now only has vs2019 and no vs2017, if I use this tool to try to uninstall, the computer will restart immediately but nothing changed.

I thought about installing vs2017 and then uninstalling it, but worried that even I did this I wouldn't be able to uninstall 2.1.509, and then I've got a vs2017 which is more difficult to uninstall...

Now I can neither uninstall 2.1.509 nor make it work. Is there any way to uninstall it manually?

Please forgive me for my poor English, thank you.

asked on Stack Overflow Jul 10, 2020 by Sarlanori

0 Answers

Nobody has answered this question yet.

User contributions licensed under CC BY-SA 3.0