更新EF命令行工具

作者: 吴杰 分类: 编程 发布时间: 2025-02-05 13:59

使用 dotnet tool update --global dotnet-ef 将全局工具dotnet-ef更新到最新的可用版本。

如果在项目中本地安装了这些工具,请使用 dotnet tool update dotnet-ef

通过将 --version 追加到命令来安装特定版本。 有关更多详细信息,请参阅 dotnet 工具文档的更新部分。

参考:https://learn.microsoft.com/zh-cn/ef/core/cli/dotnet#update-the-tools