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就可以了