The term update-database is not recognized as the name of a cmdlet, function.

I am using code first approach in my project

In package manage console when we run command update-database

Then it shows error

update-database : The term 'update-database' is not
recognized as the name of a cmdlet, function, script file, or operable program.


I don't know why it shows error ....can any one help???

Last updated:10/9/2017 4:22:13 AM

1 Answers

Sushant Mishra
Sushant Mishra

reboot your visual studio or run this command in package manager console

Install-Package EntityFramework -Version 6.1.3

hope this help you..

Answer