"could not load file or assembly" exception on First Rebuild only
<p>I have C# project created in VS 2008. I have referenced another DLL to it and kept Copy Local option to true. When I am doing a first rebuild, it fails with "could not load file or assembly" message and then if I build without any changes it builds fine.</p>

<p>In the background, rebuild cleans bin directory and build solution file at this time refrenced DLL gets deleted so it throws exception. On next build referenced DLL remains in bin directory and project builds successfully.</p>

<p>Now I want to know how can I resolve issue and ensure succesful build each time.</p>

<p>Thanks</p>
