I want to use Nuget to download a package VS 2015 for Node.js project, however, it is grey out as shown below:
How to resolve it?
I want to use Nuget to download a package VS 2015 for Node.js project, however, it is grey out as shown below:
How to resolve it?
This happened to me when I was running something in debug mode. Make sure you are not debugging any part of your solution or VS will not let you do anything with nuget packages.
Same thing happened to me in VS2015. Just clear your solution once and restart your Visual Studio. It'll work. Up till now VS 2015 has been showing lots of problems.Hope for better updates.
It appears that you have to have a project that supports nuget or all the nuget options will be greyed out. I have two solutions I bounce back and forth between...one has only a SQL Server project - and nuget options are disabled. The other solution has all sorts of stuff and nuget stuff is enabled. Just to be sure, I added a class library to the SQL Server solution, and sure enough, nuget lit up.
Just for extending the community. It happened to me during Rebuild process (debug mode), I had too many projects (legacy project) in one solution (VS 2019), when I hit the Rebuild Solution it took to long to do the work and I didn't attend to it. after build completion, Manage Nuget Packages menu was enabled as always.
If you have to Manage Nuget Packages right before building your project, all you need to do is to stop building and ta-da, your intended menu item is available again.
I've just came across the same thing. For me the solution hadn't been saved yet. The resolution for me was to save the solution first and then the option was available for me.
This problem can be solved by visual community edition 2019 In the Tools>extensions >manage extensions> SEARCH FOR NuGET PACKAGE and install the NuGet package manager. Now you can see the Nuget Package restore and manage Nuget package manager.
This happens mysteriously in VS 2019. I don't have an answer other than brute force -- close and reopen VS 2019. The options are then available.
I'm doing a console app to follow along with a Pluralsight course on EF Core 5. I got up to the point where adding a reference to Microsoft.EntityFrameworkCore.Tools needed to happen to find the options were greyed out.
Turned off debugging -- the app was still running, didn't fix it. After waiting few moments to see if it would happen on its own, I closed and reopened VS 2019.
Then I could access the NuGet options.
You need to select the relevant project in the Solution Explorer for the option to be clickable.