In my project I have dozen+ migrations. http://screencast.com/t/CA2kZk3WCFj But when I try to create database from scratch EF only starts from the marked migration to the bottom.
if I enter command: update-database -targetMigration InitialCreate this is the response: he specified target migration 'InitialCreate' does not exist. Ensure that target migration refers to an existing migration id.
How can I resolve this issue and make EF see all of the migrations?
This can often happen if you use the Update-Database command in Release mode. Running in Debug mode seems to work ok.