dotnet-core-uninstall-1.7.521001 github上下载下来,从github下载不下来时,可以使用这个,微软官方提供的.NET 卸载工具
C:\Windows\system32>dotnet-core-uninstall remove --all --sdk
The following items will be removed:
To avoid breaking Visual Studio or other problems, read https://aka.ms/dotnet-core-uninstall-docs.
Do you want to continue? [y/n] n
我用着效果不好,没卸载掉dontnet