Search code examples
entity-frameworkasp.net-core

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.


Solution

  • 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/