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?


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.


Maybe this is fixed now. There is a very new release. http://visualstudiogallery.msdn.microsoft.com/27077b70-9dad-4c64-adcf-c7cf6bc9970c/

http://docs.nuget.org/docs/reference/known-issues#Upgrading_to_latest_NuGet_from_an_older_version_causes_a_signature_verification_error. When viewing the logs, you might see a mention of a SignatureMismatchException. To prevent this from occurring, there is a Visual Studio 2010 SP1 hotfix you can install. Alternatively, the workaround is to simply uninstall NuGet and then install it from the VS Extension Gallery. See http://support.microsoft.com/kb/2581019 for more information.


If you want to delete/uninstall Nuget package which is applied to multiple projects in your solutions then go to:

  • Tools-> Nuget Package Manager -> Manage Nuget Packages for Solution

  • In the left column where is 'Installed packages' select 'All', so you'll see a list of installed packages and Manage button across them.

  • Select Manage button and you'll get a pop out, deselect the checkbox across project name and Ok it

  • The rest of the work Package Manager will do it for you.

    链接地址: http://www.djcxy.com/p/81680.html

    上一篇: 对使用Visual Studio 2008生成Web Deploy 2.0包的基本疑问

    下一篇: 如何手动卸载Visual Studio 2010扩展?