0
kallhag created
Hi,
Recently got this message and not sure why? I might be because of .NetCore 3 but how do I fix it (cant uninstall it)
-> AppAuthorizationProvider.cs is being modified. -> FlowDbContext.cs is being modified. -> CustomDtoMapper.cs is being modified. Running add-migration... **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 Core 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.** Running update-database... **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 Core 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.** -> crmSalesStates.component.ts is being generated. -> crmSalesStates.component.html is being generated. -> create-or-edit-crmSalesState-modal.component.html is being generated.
2 Answer(s)
-
0
see https://github.com/aspnetzero/aspnet-zero-core/issues/2752
It seems like dotnet ef global tools 3.0 must be installed.
dotnet tool install --global dotnet-ef
If it an old version is installed, it must be upgraded
dotnet tool update --global dotnet-ef
-
0
This issue is closed because it has not had recent activity for a long time.