Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to manually uninstall a Visual Studio 2010 extension?

So I got prompted to download the latest NuGet Package Manager in VS2010. All previous updates (including this) has failed with:
VSIXInstaller.SignatureMismatchException: The installed version of 'NuGet Package Manager' is signed, but the update version has an invalid signature. Therefore, Extension Manager cannot install the update.

Which, in itself has been going on for some time now, and they still haven't fixed it (look in Q&A).

Ok, fine, previously I could simply uninstall the NuGet extension and install the latest. However, this time, both the Disable and Uninstall buttons are disabled. So I can't uninstall and I can't upgrade.

Catch22.

How can I manually remove the NuGet extension from Visual Studio?
What files/folders/reg entries do I have to kill to get rid of NuGet?

like image 710
Magnus Johansson Avatar asked Jul 11 '11 07:07

Magnus Johansson


People also ask

How do I Uninstall NuGet Visual Studio 2010?

Usually to uninstall NuGet in VS2010 you need to run as an administrator, open Tools->Extension Manager. In Installed, select NuGet and click Uninstall.

Can I Uninstall Microsoft Visual Studio 2010 Tools for Office runtime?

Yes you can remove these if you are not using Microsoft Visual Studio.


1 Answers

To uninstall NuGet, you must first run Visual Studio as Administrator, then you will see the Uninstall option available.

Restart VS, but this time run it as your normal account. When you install NuGet going forward, you should be able to update to future versions without running as Administrator.

I believe this issue occurs due to NuGet being installed with MVC 3. I hope in the future we no longer bundle NuGet with other software.

like image 163
Kiliman Avatar answered Oct 08 '22 07:10

Kiliman