Currently I’m busy with converting a .Net 2.0 WinForms application to .Net 4.0 in VS2010. Seemed to work pretty smooth but when testing one of the more complex windows in the application I hit a snag. Upon opening the window I got a “TargetException: Object does not match target type.” thrown in my face. After a quick tour with the debugger I found the problem: data binding didn’t work anymore!

To find out what the real problem was I’ve built a test application that basically does the same thing as the complex window that is giving me such a headache. (meer…)

Meer >