I have a solution with two projects, one of which is the main project, and the second is a project that will use EF Core 10.0 RC2.
In the second project, I use these three commands to install EF Core and run these nuget commands to install it:
Install-Package Microsoft.EntityFrameworkCore.SqlServer –Pre
Install-Package Microsoft.EntityFrameworkCore.Tools –Pre
Install-Package Microsoft.EntityFrameworkCore.SqlServer.Design –Pre
Later I can create my model from the database using this command:
Scaffold-DbContext "'Server=(localdb)\mssqllocaldb;Database=Blogging;Trusted_Connection=True;'" Microsoft.EntityFrameworkCore.SqlServer
The problem is that if I exit VS2015 and open again, if I tried to run the same command to generate models again, I get this error:
The term "Scaffold-DbContext" is not recognized as the cmdlet name.
I do not know what the problem is, I tried to set entityFrameworks.Commands, but the problem is not solved.