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?
The Add NuGet packages menu will be disabled if a project is not selected in the Solution window. Which is my guess as to why it is disabled for you. Update and Restore NuGet packages is available if a solution or project is selected.
NuGet Package ManagerIn Solution Explorer, right-click References and choose Manage NuGet Packages. If you want more information on the NuGet Package Manager, see Install and manage packages using Visual Studio. Accept any license prompts. If prompted to review changes, select OK.
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With