Unable to generate an explicit migration in entity framework

ef-migrations entity-framework

Question

I am adding a new migration but this message shows:

Unable to generate an explicit migration because the following explicit migrations are pending: [201203170856167_left]. Apply the pending explicit migrations before attempting to generate a new explicit migration.

Can any one help me?

1
93
2/7/2014 3:09:50 AM

Popular Answer

It tells you that there is some unprocessed migration in your application and it requires running Update-Database before you can add another migration.

80
3/22/2012 9:27:10 AM


Related Questions





Related

Licensed under: CC-BY-SA with attribution
Not affiliated with Stack Overflow
Licensed under: CC-BY-SA with attribution
Not affiliated with Stack Overflow