I have a problem with Visual Studio 2010. I'm trying to add a button and associate an event to it. But when I double-click or right-click -> Add Event Handler, my IDE stop responding and it gives me an error:
Microsoft Visual Studio has encounter a problem and needs to restart.
I've tried all the ways that I know to add an event to a control. I even changed the control to radio button or a label, and I when I try to set any event to any control, my VS crashes.
Is this an known problem? Am I doing something wrong?
My project is a Dialog-based MFC application.
I've tried to add an event to a different project (a test project that I downloaded from the web) and it works.