Hey,
I’m using Project IDX to create a .NET project with Entity Framework.
Everything was going fine until I tried to run the EF migration. The terminal is showing me this error:
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 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.
I already have EF installed (it’s in the .csproj), and after doing some research, I found that some people suggest adding dotnet-ef to the dev.nix file as well. However, when I added it and tried to rebuild the project, the build broke.
I don’t know if I’m trying to import the wrong package.
Does anyone know how to solve this, or if it’s even possible?