GillesDV
GillesDV

Reputation: 293

unable to add nuget packages in blank ASP.NET core project

I've had Visual Studio 2015 generate me a blank ASP.NET Core app, with no template. However, when I right click on my project file and try to add Nuget packages, the option to do so is grayed out/disabled.

Does the latest version of Core use Bower packages instead of Nuget or something? When I open the Bower packages, that list is empty as well.

error message screen Visual Studio 2015, Core app

Upvotes: 0

Views: 492

Answers (1)

Phil Ricketts
Phil Ricketts

Reputation: 8690

Are you running Visual Studio Update 3?

Do you have the latest .NET Core templates installed?

Do you have the latest 'preview' .NET Core tooling installed?

If you do have the dotnet CLI installed, open a command/powershell prompt in the project directory and run dotnet restore.

Upvotes: 1

Related Questions