how to fix Could not execute because the application was not found or a compatible .NET SDK is not installed. code example
Example: dotnet ef command not found
dotnet tool install --global dotnet-ef
dotnet tool install --global dotnet-ef