如何升级EF核心工具 [英] How to upgrade EF Core Tools
本文介绍了如何升级EF核心工具的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
当我add-migration
时收到此警告:
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.
除了更新DotNET Core SDK之外,我没有找到任何信息可以更新它,但是对我而言这无效.
I haven't found any information how can I update this, except with updating DotNET Core SDK, but this hasn't worked for me.
推荐答案
使用程序包管理器控制台更新工具:
Update the tools using the package manager console:
Install-Package Microsoft.EntityFrameworkCore.Tools -Version 2.1.4
请参阅此链接 https://www.nuget.org/packages/Microsoft. EntityFrameworkCore.Tools/
这篇关于如何升级EF核心工具的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文