We're experiencing several cases where on loading up a project that was otherwise OK, gives an error in the Winforms designer along the lines of:
Could not load file or assembly 'MyLibrary, Version=1.4.3419.14461, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified.
And Visual Studio dies, prompting us if we wish to send debug information to Microsoft -- if this prompt is ignored, we are able to close the affected tabs, save all, and all is fine on a reload; if we don't close the affected tabs, the problem repeats.
I'm unsure if this is a Visual Studio bug, or we're doing something "wrong" or unexpected. Has anyone any ideas on where to look, or common causes of this sort of issue?
(For the sake of argument, the solution consists of MyLibrary and MyLibrary.Windows, which has a project reference to the former. Both projects build with no issues once Visual Studio loads. If it makes any difference, the projects have been migrated from VS2003, which in turn didn't exhibit this crash)
EDIT:
Have also tried loading the solution with a debugger attached, with the solution loaded, and it crashes out without stopping on any exceptions