title: DLL and Main Project Building - Annoyance
body: <p>I have a main executable project and a dll project in VS 2008.</p>
  
  <p><em>Sometimes</em> when I clean/rebuild the dll and then clean/rebuild the main project, the main project will not build because it says the dll is in use.</p>
  
  <p>Closing both projects resolves the issue.</p>
  
  <p>Why does this occur and how do I prevent it from happening?  It is annoying having to close and reopen the projects.</p>
  
  <p>Error received when building main project after building dll:</p>
  
  <blockquote>
    <blockquote>
      <p>Unable to load referenced library 'C:\Documents and Settings\xxxxxx\Desktop\abcdefg\x64\Release\abdcefg.dll': The process cannot access the file because it is being used by another process.    </p>
    </blockquote>
  </blockquote>