1

I am trying to add the nuget package dotnet (Microsoft.entityframeworkcore.tools.dotnet). However, it is not installing.

This is what I am receiving in my command prompt:

C:\Program Files (x86)\Microsoft Visual Studio\2017\Community>dotnet ef --help
No executable found matching command "dotnet-ef"
waqas
  • 63
  • 5

2 Answers2

0

The tooling for Entity Framework Core is part of the .Net Core SDK. This provides you access to dotnet ef ... commands. You can install the latest .Net Core SDK from here. More information on installing and getting started with EF Core can be found here. The EF Core base library is also part of the meta package of ASP.Net Core (Microsoft.AspNetCore.App).

Marc
  • 4,165
  • 3
  • 22
  • 32
-1

This seems something with package.json so you should follow this link

D. Pareek
  • 559
  • 3
  • 11
  • i am getting this error below when i try to install it: "Package Microsoft.EntityFrameworkCore.tools.dotnet 1.0.1 has a package type dotnetclitool that is not supported by project "The World" I am using visual studio 2017 so i have a csproj file – waqas Aug 09 '17 at 12:11