0
talkwaqar created
Hi I am creating entity using asp net power tool. when I click on generate, in console getting errors
`-> 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. -> persons.component.ts is being generated.`
can you find a cause.
Thanks.
Markdown is supported
Copy & paste or drag & drop images (max 30 MB per image)
3 Answer(s)
-
0
The same error on mine computer! VS2019 and PowerTools 2.0.4
Markdown is supportedCopy & paste or drag & drop images (max 30 MB per image) -
0
Try installing the dotnet ef tool.
dotnet tool install --global dotnet-ef --version 3.0.0Markdown is supportedCopy & paste or drag & drop images (max 30 MB per image) -
0
Thanks @maliming. it works for me.
Markdown is supportedCopy & paste or drag & drop images (max 30 MB per image)
