Reputation: 271
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.
Upvotes: 24
Views: 25345
Reputation: 9248
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 )
Upvotes: 55
Reputation: 8889
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.
Upvotes: 3
Reputation: 4159
Open Extension Manager inside Visual Studio, select "Installed" on the left, you'll find NuGet in the list and the option to remove it.
Upvotes: 6