简体   繁体   中英

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.

在此处输入图片说明

New to visual studio so please be kind :)

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 ...:

在此处输入图片说明

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM