Garima Bansal

Garima Bansal

  • 1k
  • 694
  • 41.4k

getting error when add migration in mvc core

Dec 24 2022 8:44 PM

I am adding migration in my project but getting this error, i am using VS 20, already added first migration but now i want create new database table but getting this error

 

add-migration Registration
add-migration : The term 'add-migration' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the 
spelling of the name, or if a path was included, verify that the path is correct and try again.
At line:1 char:1
+ add-migration Registration
+ ~~~~~~~~~~~~~
    + CategoryInfo          : ObjectNotFound: (add-migration:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException

 

 


Answers (4)