.NET - Update EF Core Tools

event 2022-01-04 visibility 3,471 comment 0 insights
more_vert
insights Stats
Raymond Raymond Code Snippets & Tips

Code snippets and tips for various programming languages/frameworks. All code examples are under MIT or Apache 2.0 license unless specified otherwise. 

When using Entity Framework Core in .NET applications, you may see the following warning message:

The Entity Framework tools version '6.0.0' is older than that of the runtime '6.0.1'. Update the tools for the latest features and bug fixes. See https://aka.ms/AAc1fbw for more information.

The version can be different based on your setup. This basically means that your dotnet ef core tool version is lower than the runtime version used in your application.

Update dotnet tool

To update the tool, simply run the following command:

dotnet tool update --global dotnet-ef

References

Entity Framework Core tools reference - .NET Core CLI

More from Kontext
comment Comments
No comments yet.

Please log in or register to comment.

account_circle Log in person_add Register

Log in with external accounts