I'm currently working on a Multi-Project solution in VisualStudio 2010 which has like 20+ projects in VB.net & C#.net.
Sometimes when I build my project I get like 100 similar errors for example "an object reference is missing" in both c# and vb projects, bare in mind I build my solution couple of times in a day.
But surprisingly when I re-open VisualStudio those errors disappear most of the time, if not they would disappear definitely after I restart my PC (Weird, I know!!!) .
I am really keen to know why this is happening and what reopening VisualStudio has anything to do with build errors?! Also I am really interested to know has anyone experienced such a problem or its only me facing with this problem?
In VS2010 --> Configuration Manager, I have changed the Active solution platform to Mixed Platforms and include all the projects into Build, also selected x86 as the solution Platform.
Haven't had any problem since done these changes.
Plutonix, Thanks for your comment.