问题
I'm having trouble uninstalling Microsoft .NET Core 1.0.0 RC2 - VS 2015 Tooling Preview 1
. I'm in Windows 7, in the Programs and Features
window. When I click uninstall
, it brings up a dialog box, with the options repair
, uninstall
, and cancel
. When I click uninstall
, a "Open file" window pops up.
I've googled a bit to see if there's a file I can download to sate this "Open file" window. I can't find one anywhere. Here are a few of the things I have looked at, but I can't make sense of which one may fit.
https://www.microsoft.com/net/download
The reason I'm trying to uninstall this is because I'm having a lot of trouble with Visual Studio 2015 community, and this is part of the troubleshooting process.
回答1:
Download a copy of the installer exe from Microsoft:
- DotNetCore.1.0.0.RC2-VS2015Tools.Preview1.exe
- DotNetCore.1.0.0-VS2015Tools.Preview2.exe
- DotNetCore.1.0.0-VS2015Tools.Preview2.0.1.exe
- DotNetCore.1.0.1-VS2015Tools.Preview2.0.2.exe
- DotNetCore.1.0.1-VS2015Tools.Preview2.0.3.exe
- DotNetCore.1.0.1-VS2015Tools.Preview2.0.4.exe
After choose this file when asked. Then you can successfully remove it.
回答2:
In my case, I also had to manually start the .exe as Administrator, otherwise uninstall completes, but does not actually remove .NET Core installation.
来源:https://stackoverflow.com/questions/37624775/how-do-i-uninstall-microsoft-net-core-1-0-0-rc2-vs-2015-tooling-preview-1