7
在.NET Core 3中找不到dotnet ef
我正在关注文档以创建初始迁移。执行时dotnet,我得到了帮助部分,这意味着PATH可以正常工作。 然后,我尝试从控制台窗口的文档中执行以下命令: dotnet ef migrations add InitialCreate 我收到以下错误: Could not execute because the specified command or file was not found. Possible reasons for this include: * You misspelled a built-in dotnet command. * You intended to execute a .NET Core program, but dotnet-ef does not exist. * You intended to …