.NET Core 3.0 使用dotnet ef时报错问题

.NET Core 3.0中使用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 run a global tool, but a dotnet-prefixed executable with this name could not be found on the PATH. 执行dotnet命令,可以正常执行,说明PATH正常,本文主要介绍一下解决方法。

原文地址:.NET Core 3.0 使用dotnet ef时报错问题

posted @ 2021-07-07 20:46  levizhong  阅读(383)  评论(0)    收藏  举报