title: Is there a difference when referencing dll binaries or referencing a project in Visual Studio 2008?
body: <p>I have two projects.  Project A is a web project and project B is a Data Access Library.  Project B has references to another Project (Project C), as well as some third party dlls that are referenced through files in a directory call "Library".  If I reference Project B as a project reference, everything works.  If, instead I reference the dlls that are output into the bin/debug folder of Project B, everything builds, but I get the following error we the built in development web server tries to show the default page.</p>
  
  <pre><code>[BadImageFormatException: Could not load file or assembly 'my_dal.data, 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.]
  </code></pre>
  
  <p>I'm running Windows 7 64 bit Operating System, so it would seem I have a 32/64 bit problem, but I can't see how the build process is working with one reference and not the other.</p>