Visual Studio 2010 - Uninstall NuGet

25,154

Solution 1

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

If that fails you can run this command :

vsixinstaller.exe /uninstall:NuPackToolsVsix.Microsoft.67e54e40-0ae3-42c5-a949-fddf5739e7a5

(vsixinstaller can be found under [program files]\Microsoft Visual Studio 10.0\Common7\IDE )

Solution 2

Open Extension Manager inside Visual Studio, select "Installed" on the left, you'll find NuGet in the list and the option to remove it.

Solution 3

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.

Share:
25,154
Sannithi Yashwanth
Author by

Sannithi Yashwanth

Updated on August 10, 2022

Comments

  • Sannithi Yashwanth
    Sannithi Yashwanth almost 2 years

    How do you uninstall NuGet from Visual Studio 2010?

    I tried to open Visual Studio 2010 with 'Run as Administrator', but the Uninstall option is not available for uninstalling the NuGet extension from VS2010.