EF Core 2.0 Migrations Not Recognized by Package Manager Console -
i'm trying add migration .net core 2.0 web app through package manager console in visual studio 2017. receive error: "the entityframework package not installed on project ". however, entityframeworkcore 2.0 installed.
i've tried:
- the enable-migrations command (although don't believe necessary anymore)
- the add-migration command
- "install-package microsoft.entityframeworkcore.sqlserver -version 2.0.0" through pmc
- re-installing entityframeworkcore 2.0 through nuget package manager
is there other configuration needs done somewhere else?
since ef core migrations work on .net core 1.1 project issue related .net core 2.0?
cheers!
the ef tools command-line interface (cli) provided in microsoft.entityframeworkcore.tools.dotnet.
from https://docs.microsoft.com/en-us/aspnet/core/data/ef-mvc/migrations
Comments
Post a Comment