title: C# Could not load file or assembly from release DLL
body: <p>I have a WebApplication project in ASP.Net and one Entity project (Built to DLL).</p>
  
  <p>If i build DLL in Debug mode then my WebApp load assembly successfully. But when I build DLL in release mode, my WebApp could not load assembly.</p>
  
  <p>Error:</p>
  
  <blockquote>
    <p>Could not load file or assembly 'MyLibs, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. An attempt was made to load a program with an incorrect format.</p>
  </blockquote>