I installed EF6.1.3 in my VS2015 ASP.NET 5 Web API project, but the
command gives me the following problem in the Package Manage console:
The term 'enable-migrations' is not recognized as the name of a cmdlet, function, script file, or operable program.
All of the recommended here do not function for me; I continue to receive the same issue.
I have so far tried the following commands and have shut down and restarted Visual Studio (even as administrator):
Install-Package EntityFramework -IncludePrerelease
Update-Package â€“reinstall EntityFramework
Install-Package EntityFramework.Commands -Pre
This answer's answer was what I utilized.
EntityFramework needs to be uninstalled first, then reinstalled. Use the command below to force the uninstall procedure if the uninstall failed because EntityFramework was a dependence on another package.
Uninstall-Package -f EntityFramework