title: Entity Framework MVC Controller
body: <p>I am using Visual Studio 2012. I created a Class project and added EF data model to this project. I created the data model from an existing SQL Server Database. I created a MVC 4 project, added entity connection string to web config, and added data project reference.</p>
  
  <p>All is good to this point.</p>
  
  <p>Now I want to add a MVC controller using Entity Framework. I select a one of the model classes. I select the data context class. Click Add.</p>
  
  <p>VS pops an error up, the last part of the error message is class might be in a compiled assembly {which is true}.</p>
  
  <blockquote>
    <p>'AA' is not part of the specified 'aanamespace.aaEntity' class and the entity class could not be modified to a DbSet property to it. For example the 'aaEntity' might be in a compiled assembly</p>
  </blockquote>