title: moving EDMX file to new project caused: System.Data.MetadataException: Unable to load the specified metadata resource
body: <p>I have a ASP.NET MVC 2 project.
  I've created edmx file on the class library project that holds the model.</p>
  
  <p>now I've created another class library called it shared and moved the edmx file over there.
  resolved some issues, everything compiles, but it can't find the connection string resource at runtime.</p>
  
  <p>I've copied the ConnectionString part of the Web.Config to the main file, the old class library app.config file and the new class library app.config file.</p>
  
  <p>Still get this error: </p>
  
  <blockquote>
    <p>System.Data.MetadataException: Unable
    to load the specified metadata
    resource.</p>
    
    <p>Line 75:         public myProjdb() :
    base("name=myProjdb", "MyProjdb")</p>
  </blockquote>
  
  <p>in the MyProj.Designer.cs file.</p>
  
  <p>Any Idea how to resolve this issue ?</p>
  
  <p>Is there a better way to store connection string data ?</p>