title: Entity Framework 4.3 migrations error
body: <p>I've just installed EF 4.3-beta1 for the migrations goodness, and I can't get it working. The error I get:</p>
  
  <pre><code>PM&gt; Update-Database -Verbose
  Using NuGet project 'Project.Domain'.
  Using StartUp project 'ProjectWebSite'.
  System.InvalidOperationException: No migrations configuration type was found in the assembly 'Project.Domain'.
     at System.Data.Entity.Migrations.Design.ToolingFacade.BaseRunner.FindConfiguration()
     at System.Data.Entity.Migrations.Design.ToolingFacade.BaseRunner.GetMigrator()
     at System.Data.Entity.Migrations.Design.ToolingFacade.UpdateRunner.RunCore()
     at System.Data.Entity.Migrations.Design.ToolingFacade.BaseRunner.Run()
  No migrations configuration type was found in the assembly 'Project.Domain'.
  </code></pre>
  
  <p>I've added a new column to 2 EF classes:</p>
  
  <pre><code>public class MasterInstance
  {
      public int MasterInstanceId { get; set; }
      [Required] public string HostName { get; set; }
      [Required] public string Name { get; set; } /* &lt;-- THIS IS NEW */
      [Required] public string ConnectionString { get; set; }
      public virtual ICollection&lt;MasterInstanceLocation&gt; MasterInstanceLocations { get; set; }
  }
  </code></pre>
  
  <p>And my DbContext looks like this:</p>
  
  <pre><code>public class ProjectDontext: DbContext, IProjectContext
  {
      public IDbSet&lt;Installer&gt; Installers { get; set; }
      public IDbSet&lt;MasterInstance&gt; MasterInstances { get; set; }
      public IDbSet&lt;MasterInstanceLocation&gt; MasterInstanceLocations { get; set; }
  }
  </code></pre>
  
  <p>Any ideas? My EF classes &amp; context live in a separate assembly (Project.Domain). I've tried running the update-database in the context of both the main website and the domain project, and I get the same error either way.</p>
  
  <p>-- <strong>EDIT</strong> --</p>
  
  <p>Solution found. It turns out, that you need to enable migrations for your project. You can do this by running <code>Enable-Migrations</code> in the NuGet console (make sure you have the right project selected - for me this was the project.domain project).</p>
  
  <p><a href="http://blogs.msdn.com/b/adonet/archive/2012/01/12/ef-4-3-beta-1-automatic-migrations-walkthrough.aspx" rel="noreferrer">This walkthrough</a> provides more information</p>