0xsegfault
0xsegfault

Reputation: 3161

Why can’t I see the manage nugets option?

I am following this tutorial :

https://programmingblockchain.gitbooks.io/programmingblockchain/content/introduction/project_setup.html

I am using visual studio mac and stuck on this step

Right click on “Dependencies” in Solution Explorer and select “Manage NuGet Packages…”

I can't seem to find dependencies in solution explorer.

enter image description here

New to visual studio so please be kind :)

Upvotes: 0

Views: 103

Answers (1)

Leo Liu
Leo Liu

Reputation: 76670

Why can I see the manage nugets option?

That because the manage nugets option is active with project opening. According to the your screenshot, there are only a solution file and a solution folder without any project in the solution or solution folder. So the option "Update NuGet Packages" "Restore NuGet Packages" are gray(unavailable) in your screenshot.

To resolve this issue, you should add a new project to your solution or solution folder, then double click(secondary click) on your project->Add->Add NuGet Packages...:

enter image description here

Or select project, under the option "Project", there are options "Edit reference", "Add NuGet packages...", "update NuGet packages...", "Restore NuGet packages...".

For some more detailed information, you can refer to following document:

NuGet in Visual Studio for Mac

Hope this helps.

Upvotes: 3

Related Questions