Mal*_*Tbt 26 c# entity-framework entity-framework-core
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)
Roa*_* S. 43
更新结果证明这是一个涉及很多方面的问题。主要问题是 Visual Studio:https : //developercommunity.visualstudio.com/content/problem/438312/vs-2019-preview2-after-saving-edmx-code-is-not-gen.html
请尝试
dotnet tool update --global dotnet-ef
Run Code Online (Sandbox Code Playgroud)
并重新启动 Visual Studio
| 归档时间: |
|
| 查看次数: |
5336 次 |
| 最近记录: |