When I want to add Entity Framework migration to my ASP.NET Core 1.1 by run "dotnet ef migrations add InitialCreate" get this error
"No executable found matching command "dotnet-ef"".
After google this error i wanted to add Microsoft.EntityFrameworkCore.Tools.DotNet Package to project but in console get this:
"Install-Package : Package 'Microsoft.EntityFrameworkCore.Tools.DotNet 1.0.1' has a package type 'DotnetCliTool' that is not supported by project"
and this is project.json:
{ "tools": { "Microsoft.EntityFrameworkCore.Tools": "1.1.1" } }
What should I do exactly to enable migration in my project?