Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to upgrade EF Core Tools

When I add-migration i got this warning:

The EF Core tools version '2.1.1-rtm-30846' is older than that of the runtime '2.1.4-rtm-31024'. Update the tools for the latest features and bug fixes. 

I haven't found any information how can I update this, except with updating DotNET Core SDK, but this hasn't worked for me.

like image 601
stefan.stt Avatar asked Oct 08 '18 12:10

stefan.stt


People also ask

What is Microsoft Entity Framework core tools?

The Entity Framework Core tools help with design-time development tasks. They're primarily used to manage Migrations and to scaffold a DbContext and entity types by reverse engineering the schema of a database.


1 Answers

Update the tools using the package manager console:

Install-Package Microsoft.EntityFrameworkCore.Tools -Version 2.1.4 

see this link https://www.nuget.org/packages/Microsoft.EntityFrameworkCore.Tools/

like image 198
Tony Bourdeaux Avatar answered Oct 08 '22 18:10

Tony Bourdeaux