I am migrating an MVC 3 application from EF 4.3 to EF 5. I noticed that EF 5 expects a CreatedOn
column in the __MigrationHistory
table, which does
Here's a workaround I'm using. Personally, I'm OK with pressing the green arrow twice (Start debugging and then Continue), but if you really want it to stop breaking, try this Post Build Event which will remove the MiniProfiler PDB:
del "$(TargetDir)MiniProfiler.pdb" /q /s
UPDATE: if that's too much work for you, I created a NuGet package:
PM> Install-Package MiniProfilerContrib.EFMigrationsFix