title: Windows Form Designer: Could not load file or assembly
body: <p>Has anyone ever had the issue where trying to "View Designer" on a windows form in Visual Studio .NET causes the error: <strong>"Could not load file or assembly…"</strong> ?</p>
  
  <p>In this case, the assembly in question was <code>XYZ.dll</code>. I managed to fix this by adding <code>XYZ.dll</code> and all its references to my project's references (even though my project doesn't directly depend on them) and rebuilding the whole solution. However, after that, I removed all those references from my project, rebuilt, and it still worked. </p>
  
  <p>One other piece of information is that I use <strong>Resharper 2.5</strong>. Someone else pointed out that it might be Resharper doing some shadow copying. I'll look into this next time this happens.
  Does anyone have a understanding of why this error happens in the first place, and possibly the 'correct' way to fix it?</p>