Hi!
I installed EF Core tools to manage database migrations, but the command “dotnet ef” is not working.
I was searching and the problem seems to be PATH variables but I don’t know how it works here on IDX, is it possible to make it work?
Hi!
I installed EF Core tools to manage database migrations, but the command “dotnet ef” is not working.
Hey Jon,
I faced the same issue, and I was able to resolve it with these steps:
In the .nix
file, you just need to make sure the dotnet-sdk
package is included. Once that’s set up, you can run the following commands:
dotnet tool install --global dotnet-ef
dotnet new tool-manifest
dotnet tool install dotnet-ef
After these steps, you’re all set to use EF Tools!