title: Entity Framework 5 and Visual Studio 2012 POCO Classes in Different Project
body: <p>In VS 2010 and EF 4.4, you were able to move and edit .tt files when using the DBContext generator in Entity Framework such that your POCO objects where in a different project than your DBContext files. </p>
  
  <p>See <a href="https://stackoverflow.com/questions/5565633/separating-entity-framework-poco-and-objectcontext">Here</a> and <a href="https://stackoverflow.com/questions/2464909/generate-poco-classes-in-different-project-to-the-project-with-entity-framework">Here</a> for examples of what I am talking about.</p>
  
  <p>In VS2012 / EF5 this seems not to be possible. the POCO classes are generated as a subitem under the EDMX file. The files cannot be copied from within Visual Studio. Moving the files from Explorer does not help because the files you moved get recreated at compilation time.</p>
  
  <p>Am I missing something basic here?</p>
  
  <p>I am not using any code generation items with EF5 (whereas I was with EF4.x.) Could that be the difference?</p>