0
johntui created
RAD Tool is unable to generate the migration scripts. Keep getting this error which looks like unable to find an executable. But I can run add-migration script from package manager console without any errors:
Running add-migration... Possible reasons for this include:
- You misspelled a built-in dotnet command.
- You intended to execute a .NET 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.
Any ideas
3 Answer(s)
-
0
Hi @johntui,
Could you install entity framework core cli with
dotnet tool install --global dotnet-ef
https://learn.microsoft.com/en-us/ef/core/cli/dotnet
-
0
that went one step further. Now getting a build error after "Running add-migration...Build started and Running migrator...: Build failed. Use dotnet build to see the errors
-
0
Hi @johntui,
Could you share me the build errors?