
Then, all out of the blue, Visual Studio failed to build when I was about to launch the application. Nothing fancy, no multi-threading or anything. It has a couple of base forms that most other forms inherit from, it uses Entity Framework (and POCO classes) for database access. Scenario: I have a simple Windows Forms application (C#. This is a question asked before, both here on Stack Overflow and other places, but none of the suggestions I've found this far have helped me, so I just have to try asking a new question. If this solution doesn't work for you, you are probably having a different issue (which belongs in a separate question).

I have also tested and verified that the solution given in the accepted answer below works on that sample project. Update: A sample project reproducing this bug can be found here at Microsoft Connect.
