Posts
1147
Comments
891
Trackbacks
1
August 2014 Blog Posts
Windows Forms: Why isn’t my Form_Load method being called?

This is just one of those things that I’m posting in case I see it again.

Was testing a Windows Forms app and, depending on which build configuration was being used, the Form_Load method wasn’t being called.  Huh?

I don’t understand the internal mechanics of it, but the non-working build configuration was set to x86, while the working one was set to Any CPU, and this was on a x64 machine.  Changed it to Any CPU for both, and we were fine.

posted @ Monday, August 25, 2014 1:02 PM | Feedback (0)