01 August 2013

Enable-Migrations in Package Manager Console

Have you experienced this?

More than one context type was found in the assembly 'MyMVCProject.Web'.

A simple solution:

enable-migrations -ContextType MyMVCProject.Web.Your_Db_Entities

No comments:

Post a Comment