Missing DotNet EF Tooling

Today I came across a weird error after upgrading both VS 2017, and VS 2019. You will hit error something similar to the below

dotnet : 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.

This can be easily fixed by reinstall the EF Tooling, run the below in  the Package Manager Console, or Windows Powershell

dotnet tool install --global dotnet-ef
You may also specify the version during install
dotnet tool install --global dotnet-ef --version 2.1
Incase of wrongly installed, you may uninstall it as below
dotnet tool uninstall --global dotnet-ef
By using our website you are consenting to our use of cookies to ensure you get the best experience on our website. Learn more