entity-framework – 如何升级EF Core Tools

当我添加迁移时,我得到了这个警告:
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核心SDK,但这对我没有用.

解决方法

使用包管理器控制台更新工具:Install-Package Microsoft.EntityFrameworkCore.Tools -Version 2.1.4
看到这个链接 https://www.nuget.org/packages/Microsoft.EntityFrameworkCore.Tools/

相关文章

### 创建一个gRPC服务项目(grpc服务端)和一个 webapi项目(...
一、SiganlR 使用的协议类型 1.websocket即时通讯协议 2.Ser...
.Net 6 WebApi 项目 在Linux系统上 打包成Docker镜像,发布为...
一、 PD简介PowerDesigner 是一个集所有现代建模技术于一身的...
一、存储过程 存储过程就像数据库中运行的方法(函数) 优点:...
一、Ueditor的下载 1、百度编辑器下载地址:http://ueditor....