aspnet / Tooling

Issue tracker and info on Visual Studio tooling for ASP.NET
Other
256 stars 124 forks source link

Error: Uninstalling Microsoft .Net core 1.0.1 VS2015 Tooling Preview 2 #1024

Closed Shashidanand closed 5 years ago

Shashidanand commented 7 years ago

I am unable to uninstall .Net Core 1.0.1 VS2015 tooling. Below screenshot for your reference - image

tomasaschan commented 7 years ago

I see the same thing; also, when trying to repair the installation, the same error pops up and the repair operation also fails.

mlorbetske commented 7 years ago

This looks like #995 and #757. From what I'm able to see in the similar issues, this appears to be related to ASP.NET Core Module (ANCM). I was also able to find mention of this in TFS that indicates that that has been fixed for Visual Studio 2017.

@joeloff or @shirhatti did we find a workaround for Visual Studio 2015?

BenjiZombie commented 7 years ago

This happened to me before. Here's how I fixed it:

Look at the log file, it will mention a package that it is not able to uninstall (in my case, WebToolsExtensionsVS14). Now go to C:\ProgramData\Package Cache and search for WebToolsExtensionsVS14, it will lead to the package's location (i.e. C:\ProgramData\Package Cache\{BFC344B0-DCDE-36EB-AB05-CB194F2BE946}\v14.1.21111.0\packages\WebToolsExtensionsVS14_69.msi). Now right-click that file, choose uninstall, and voila. Now you can successfully uninstall the .NET Core Tooling Preview 2.

kathyrollo commented 7 years ago

@BenjiZombie , you are a very contributing member of society. Worked for me, Thanks!

For those stuck in the "specified account already exists" loop, you have to cancel to view the logfile.

vs2015_tooling_preview_2_uninstall_1 vs2015_tooling_preview_2_uninstall_2

unowiz commented 7 years ago

@BenjiZombie Thanks for the workaround, the failing uninstall was bothering me a lot :)

PRISMAY commented 6 years ago

@BenjiZombie, Thank you for sharing your solution as it worked for me as well. Much appreciated.

kevchadders commented 6 years ago

@BenjiZombie, your doing gods work, Worked for me also.

eriawan commented 5 years ago

Due to the fact this issue has been solved, please close this issue, @Shashidanand

cc @sayedihashimi , @Andrew-MSFT

AndrewBrianHall commented 5 years ago

Closing the issue since it's been resolved