title: Error reached after genereated entity framework classes by edmgen tool
body: <p>First I read this <a href="https://stackoverflow.com/questions/689355/metadataexception-unable-to-load-the-specified-metadata-resource">question</a>, but this knowledge did not help to solve my problems.</p>
  
  <p>In initial I've created edmx file by Visual Studio. Generated files with names:</p>
  
  <ul>
  <li>uqsModel.Designer.cs</li>
  <li>uqsModel.edmx</li>
  </ul>
  
  <p>This files are located on App_Code folder.</p>
  
  <p>And my web app work normally. 
  In Web Config generated connectionstring automatically.</p>
  
  <pre><code>&lt;add name="uqsEntities" connectionString="metadata=res://*/App_Code.uqsModel.csdl|res://*/App_Code.uqsModel.ssdl|res://*/App_Code.uqsModel.msl;provider=System.Data.SqlClient;provider connection string=&amp;quot;Data Source=aemloviji\sqlexpress;Initial Catalog=uqs;Integrated Security=True;MultipleActiveResultSets=True&amp;quot;" providerName="System.Data.EntityClient" /&gt;&lt;/connectionStrings&gt;
  </code></pre>
  
  <p>Then I had to generate classes by the instrument <strong>edmgen tool</strong>(full generation mode).
  Generated new files with names:</p>
  
  <ul>
  <li>uqsModel.cs</li>
  <li>uqsModel.csdl</li>
  <li>uqsModel.msl</li>
  <li>uqsModel.ssdl</li>
  <li>uqsViews.cs</li>
  </ul>
  
  <p>it save new classed to the folder where edmx files located before, and remove existing edmx files. And when page redirrects to any web page server side code fails. 
  And problem: <strong>Unable to load the specified metadata resource</strong>.</p>
  
  <p>Some idea, please.</p>