Last post Mar 28, 2019 03:15 AM by Nan Yu
Mar 26, 2019 01:27 PM|steven0608|LINK
Not sure if I need to start a new conversation but I am also having issues with trying to use Scaffold-DBContext.
My issue is a bit different. I have not even gotten to the database connection part yet.
When I enter the command on the NuGet Package Manager Console, I get this error.
PM> Scaffold-DbContext "Server=.\SQLExpress;Database=Rescue_Exchange;Trusted_Connection=True;" Microsoft.EntityFrameworkCore.SqlServer -OutputDir Models
The EF Core tools version '2.1.4-rtm-31024' is older than that of the runtime '2.1.8-servicing-32085'. Update the tools for the latest features and bug fixes.
I have looked at other forums trying to figure out what my problem may be but I am puzzled.
Mar 28, 2019 03:15 AM|Nan Yu|LINK
Please try to update the tools using the package manager console:
Install-Package Microsoft.EntityFrameworkCore.Tools -Version 2.1.8
NuGet link : https://www.nuget.org/packages/Microsoft.EntityFrameworkCore.Tools/