I started work this morning on a Forms utility project that I've been
working on for several weeks. There are a dozen controls derived from a
simple "base UserControl" full of helper methods. I have found that every
control derived directly or indirectly from the base control cannot be
opened in the designer. Visual Studio 2008 crashes with the "encountered a
problem and needs to close" prompt.

 

Attaching a second VS2008 instance to trap the problem doesn't work. The
crash is not trappable.

 

I have deleted and recreated the base control with different names, I have
restored backup copies, I have commented out all code in the base classes at
different levels. Nothing makes any difference to the designer crash.

 

The only thing left to do now is recreate the solution and project and
slowly recreate each control and paste the original code back in until it
either works or I might luckily find the point at which it starts to crash.
This could take about 4-5 hours and the outcome is uncertain. It looks like
my whole day of development is ruined.

 

I just thought I'd mention this problem in case someone else has been
through it and has any ideas.

 

Greg

 

Reply via email to