I tried to run the command \'Enable-Migrations\' in a new project and I got the message:
PM> Enable-Migrations
The term \'Enable-Migrations\' is not recog
I just had the same problem in asp.net core VS2019
This solved it:
Install-Package Microsoft.EntityFrameworkCoreInstall-Package
Install-Package Microsoft.EntityFrameworkCore.Tools
Don't forget to set default project in Package Manager Console to your database project in case it differs.
While executing the migrations the default project also seems to play a role. At a later step it helped to install this to my main startup project (not the EF database project):
Install-Package Microsoft.EntityFrameworkCore.Design