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

Total Post:52

Points:366
 746  View(s)
Ratings:
Rate this:

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???

  1. Post:19

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

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

    Install-Package EntityFramework -Version 6.1.3

    hope this help you..

Answer