C
C#10mo ago
IcyIme

i have problem with ef core in rider

/usr/lib/dotnet/dotnet ef database update --project TeamManager/TeamManager.csproj --startup-project TeamManager/TeamManager.csproj --context TeamManager.Data.ApplicationDbContext --configuration Debug 20240124212353_azure
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.
/usr/lib/dotnet/dotnet ef database update --project TeamManager/TeamManager.csproj --startup-project TeamManager/TeamManager.csproj --context TeamManager.Data.ApplicationDbContext --configuration Debug 20240124212353_azure
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.
3 Replies
IcyIme
IcyImeOP10mo ago
and i dont know how to fix it
Jimmacle
Jimmacle10mo ago
did you install the ef tools?
IcyIme
IcyImeOP10mo ago
i fixed it by adding to the path
Want results from more Discord servers?
Add your server