I am using Package Manager Console to add migrations to my database and for some reason it just freezes and does nothing. The only way to stop it and continue using it is to close down Visual Studio using the Task Manager. Is this a known issue?
Share
I’m not sure if this is a known issue, but I had the same problem, and found a solution for it.
I had to run:
Where I specified:
-ContextTypeNameas the name of my context-ProjectNameas the project that held my Context file-StartUpProjectNameas the project that held the web application.You can reference this resource for more information: http://coding.abel.nu/2012/03/ef-migrations-command-reference/