Reputation: 1449
Using Visual Studio 2012 Premium on Win 7 x64, I make a new project (an MVC 4 project). When right-clicking on the project, I see no 'Manage NuGet Packages' option. A packages folder exists in the solution directory, as does a package.config file in the project directory. When going to Tools
, there is no Manage NuGet Packages
option, either. When going to Tools
->Extensions and Updates...
, the NuGet Package Manager
is installed and up to date.
Any idea why my project is unable to manage the NuGet packages for itself?
Here's a screenshot of the menu:
Upvotes: 13
Views: 25777
Reputation: 7837
I had a similar problem. The problem was next: I've installed NuGet Packager instead of NuGet Package Manager (from Extensions and Updates). Once I've installed the last one, it appeared in the context menu. Maybe you faced the same problem.
Upvotes: 6
Reputation: 4271
First of all there are something's you should check
Now if this issue still appears you can try taking the following steps:
Hope this was helpful
Upvotes: 1
Reputation: 2784
In my case the project was running. When stopped, the menu items appeared.
Upvotes: 4
Reputation: 1166
You can also check your Extensions folder in [if vs2013 in 64 bit, then C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\IDE\Extensions]
Each extension has folder in here with manifest file extension.manifest, check these xml files - node "Name" and if found duplicate, remove duplicate folders, restart Visual Studio.
If there is same extension in different folder, VS is confused and will not load it...
Upvotes: 0
Reputation: 2317
Because of reasons, It seems that Nuget Package Manager was not installed on my fresh Visual Studio Professionnal 2013 edition. Installing it fixed the problem.
Upvotes: 0
Reputation: 101
I had to uninstall the Nuget Package Manager from Extensions and Updates, and then reinstall it. After restarting Visual Studio, the missing menu entries appeared.
Upvotes: 5
Reputation: 1449
My solution came in the form of wiping out all traces of the NuGet Package Manager, including all registry files. Because the registry files have weird names, searching for things like NuGet.Core
as well as just about anything in the Program Files\Microsoft Visual Studio\11.0\Common7\IDE\Extensions
folder. After clearing those out, restarting the computer, reinstalling NuGet, and then restarting again seemed to clear up the issue.
Upvotes: 2