Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Where is NuGet in VS2017 Community?

Just installed VS2017 Community edition -- I read some doc saying that NuGet is included -- but I don't see it and don't see how to add it. Should it appear basically as it did in VS2015?

like image 625
Tullhead Avatar asked Apr 30 '17 02:04

Tullhead


3 Answers

I had the same issue. When I installed VS 2017, I only had Microsoft Visual Studio Offline Package. I can't remember how I figured it out, but I did. What you have to do is:

  1. Open VS 2017.
  2. Select Tools > NuGet Package Manager > Package Manager Settings.
  3. In Options, select NuGet Package Manager > Package Sources.
  4. Select + next to Available package sources.
  5. Enter these values:
    • Name: nuget.org
    • Source: https://api.nuget.org/v3/index.json
  6. Select OK.

Now, when you run Install Package commands, you'll get what you need.

NOTE: In the Package Manager Console, as your Package source, make sure you select All or nuget.org.

like image 81
johnpflyer74 Avatar answered Oct 09 '22 15:10

johnpflyer74


You have to find it in the installer, second tab - "Packages", under the subheading "Code Tools"

http://i.imgur.com/Pzx4Cqq.png

You can launch the installer from the Tools menu in VS, it should be the first option.

like image 42
Orwellophile Avatar answered Oct 09 '22 15:10

Orwellophile


It was included as an option, NOT installed by default. To install NuGet: 1. Tools > Get Tools and Features... 2. Single Component > Code Tools 3. NuGet package manager 4. update. To find NuGet: - Project > Manage NuGet packages... - Tools > NuGet Package Manager

Project or Tools

like image 34
FireCuckoo Avatar answered Oct 09 '22 15:10

FireCuckoo