dotnet core version: 3.1c#
輸入工具
dotnet ef migrations add InitialCreate
會出現下圖錯誤3d
從 3.0 起,EF Core 命令列工具 (dotnet ef) 不在 .NET Core SDK 裏面,需另裝。命令以下:code
dotnet tool install --global dotnet-ef