I'm trying to add a migration for a .net core 2.0 web app through the package manager console in visual studio 2017. I receive the error: "The EntityFramework package is not installed on project ". However, EntityFrameworkCore 2.0 is installed.
I've tried:
Is there some other configuration that needs to be done somewhere else?
Since EF Core migrations work on my .Net Core 1.1 project could this issue be related to .Net Core 2.0?
Cheers!
It looks like the EF6 commands are running. You can unload them with the following command.
Remove-Module EntityFramework
The EF Core PMC commands should be available to use after installing the following package.
Install-Package Microsoft.EntityFrameworkCore.Tools