title: Missing DbModel.Context.cs file under DbModel.Context.tt
body: <p>I'm new to ASP.NET and just managed to configure my machine to be able to Update my EFModel from a distant MySql database.</p>
  
  <p>I had to install MySql Connector 6.9.8 and MySql for Visual Studio 1.2.7. Everything was working well and I was able to build my API without problems. So after installing MySql Connector 6.9.8 I followed <a href="http://qursaan-howto.blogspot.de/2014/07/solve-your-project-references-latest.html" rel="nofollow noreferrer">these steps</a> to get rid of the EntityFramework error.</p>
  
  <p>Just after that I updated my model from my database and wanted to publish my project to check whether the newly created fields of my table were well linked, I got an error: </p>
  
  <blockquote>
    <p>“The type or namespace 'UphairDbEntities' could not be found”</p>
  </blockquote>
  
  <p>Since I didn't touch a thing in my API or WebApp project before, I checked on a backup of this project and I figured out I was missing the DbModel.context.cs in my EFModel under the file DbModel.Context.tt in my actual version. Why is it missing and how can I generate this file please ?</p>
  
  <p>For the record, I'm using Entity Framework 6.2.0 and MySql.Data/MySql.Data.Entity NuGet packages 6.9.9.</p>
  
  <p>Thanks in advance for you support :)</p>