title: The model backing the 'EFDbContext' context has changed error
body: <p>Following the sports store tutorial in <code>Pro Asp.Net MVC book,</code> 
  I have TWO projects in my Asp.Net MVC4 solution. One <code>SportsStore.WebUI</code> and one <code>SportsStore.Domain</code> , which has my Product class below</p>
  
  <p>I added a Required attribute to <code>Name</code> in my model class</p>
  
  <pre><code>    //Product.cs class
      [Required]
      public string Name { get; set; }
      //..more properties, not important as I get the same error for all -
     because I added Required to all
  </code></pre>
  
  <p>When I run the project I get <code>The model backing the 'EFDbContext' context has changed since the database was created.</code> error.</p>
  
  <p>I have checked on stackoverflow and MSDN</p>
  
  <p><strong>Solution 1: Didn't Work</strong></p>
  
  <p>Suggested solution on MSDN  was to run <code>Update-Database -Force</code> . That doesn't work , I get </p>
  
  <p><em>"Could not load assembly 'SportsStore.WebUI'. (If you are using Code First Migrations inside Visual Studio this can happen if the startUp project for your solution does not reference the project that contains your migrations. You can either change the startUp project for your solution or use the -StartUpProjectName parameter.)"</em></p>
  
  <p>That is strange because A- I'm NOT using code first and B-The Domain project DOES reference WebUI project</p>
  
  <p><strong>Solution 2: Didn't Work</strong></p>
  
  <p>Then I tried <code>Enable-Migrations</code> in the PM console and I get </p>
  
  <pre><code>No context type was found in the assembly 'SportsStore.WebUI'.
  </code></pre>
  
  <p>I then tried changing the startup project to SportsStore.Domain ( which has my product class) - nothing, same error</p>