I can't seem to use dotnet ef core tools...
I somehow created the database on this project some time ago. I just tried to update it after some DB changes with:
dotnet ef database update --connection "[connection string]"
but I get:
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.
So I tried:
dotnet tool install --global dotnet-ef
But it told me the tools were already installed. So I uninstalled, then reinstalled, both of which said they were successful. And for good measure I did:
dotnet tool update --global dotnet-ef
which responded with:
Tool 'dotnet-ef' was reinstalled with the latest stable version (version '7.0.5').
But the command still doesn't work and
dotnet tool list
shows nothing.
How can I fix this?