使用 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
发表回复