nbarbettini / little-aspnetcore-book

The Little ASP.NET Core Book, a friendly introduction to web programming and ASP.NET Core 2.0
http://littleasp.net/book
Creative Commons Attribution 4.0 International
701 stars 190 forks source link

add external package #68

Open mangowi opened 6 years ago

mangowi commented 6 years ago

To add external package to your project, you need to specify the project name when running the command in the ternaminal

Example, To add package Humanizer

dotnet add **AspNetCoreTodo** package Humanizer

Device / Windows 10 terminal dotnet version / 2.1.302

nbarbettini commented 6 years ago

Thanks for the contribution!

Did you run dotnet add inside the AspNetCoreTodo project folder? You shouldn't need to specify the project if so. It searches the current directory for a project.

Unless that behavior changed recently...