EF Core 迁移过程遇到EF Core tools version版本不相符的解决方案

项目迁移遇到问题

The Entity Framework tools version '5.0.8' is older than that of the runtime '5.0.10'. Update the tools for the latest features and bug fixes

 

 

 

 

第一步:执行命令

 1 dotnet tool update --global dotnet-ef 

第二步,vs  整个解决方案 搜索  EntityFrameworkCore.Tools

 

 

找到对应的项目文件,更新tools版本


 

 更新后,重启vs就可以了

 
posted @ 2021-09-27 09:50  MrXiaoZ  阅读(1628)  评论(0编辑  收藏  举报