小编Mal*_*Tbt的帖子

EF Core 工具版本“3.1.2”比运行时“3.1.7”版本旧。更新工具以获取最新功能和错误修复

PM> update-database
Build started...
Build succeeded.
The EF Core tools version '3.1.2' is older than that of the runtime '3.1.7'. Update the tools for the latest features and bug fixes.
Run Code Online (Sandbox Code Playgroud)

我尝试了本地更新。由于不同的项目可能在同一台机器上使用不同的版本。

如果我这样做

$ dotnet tool update dotnet-ef
Run Code Online (Sandbox Code Playgroud)

我收到此错误无法找到清单文件。

这是我的版本号:

$ dotnet ef --version
Entity Framework Core .NET Command-line Tools
3.1.5
Run Code Online (Sandbox Code Playgroud)

c# entity-framework entity-framework-core

26
推荐指数
2
解决办法
5336
查看次数