Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

NuGet Project > Add Library Package Reference not appearing

I have installed NuGet.

When I try to go to Project > Add Library Package Reference

"Add Library Package Reference" is not under the project menu. If I try to install NuGet again it says it is already installed. My application is an MVC 3 application targeting .net 4.

How can I get this option to appear?

like image 254
twal Avatar asked Feb 14 '11 15:02

twal


2 Answers

You might also run VS as Admin (Ctrl-Shift-Click) then uninstall NuGet from the package manager dialog. Then update to NuGet 1.1 from http://nuget.codeplex.com and see if that fixes it. ASP.NET MVC is not needed.

like image 122
Scott Hanselman Avatar answered Oct 04 '22 22:10

Scott Hanselman


Is it possible that some of the extensions of your Visual Studio are causing NuGet to not show the menu or crash? You could try to disable/remove them and then install NuGet from here: http://nuget.codeplex.com/

Besides, there is also a PowerShell-based Package Manager Console. You could take a look on that in case everything fails.

like image 26
Davidson Sousa Avatar answered Oct 04 '22 22:10

Davidson Sousa