Windows Develop Bookmark and Share   
 index > Windows Forms Designer > VS 2005 crashes when opening derived Form in different Assembly
 

VS 2005 crashes when opening derived Form in different Assembly

Hi,

I recently brought some order in my code and splitted it to different namespaces and assemblies.

In one assembly I have a custom "MyForm" derived from System.Windows.Form. This assembly is referenced in my project and I derived another Form (MyDerivedForm) from it in my project-assembly.

When I try to open MyDerivedForm in Designer-Mode Visual Studio crashes, no error message, it just vanishes.

When I had all my code in one big project this worked like charm.

Do I do something obviously wrong?

Thanks in advance for your help.


Amenti  Tuesday, May 22, 2007 8:18 PM
Hi again,

well, I think I found it. The form which crashes VS has a UserControl written by me on it. What I don't understand is why putting this control on a new Form doesn't trigger this problem. It only happens with my existing forms.

Maybe someone has an idea.

Thanks in advance.
Amenti  Wednesday, May 23, 2007 4:57 PM

You can use google to search for other answers

Custom Search

More Threads

• ImageIndex
• Iterating DesignerSerializationVisibility.Content collections?
• Customise User Control
• ComboBox with DropDown style does not show initial value
• ToolStripRenderer
• Get All TimeZone And Language
• Toolbar buttons and menu items dissappeared
• Conditional Compilation and the Windows Form Designer
• VB.NET Toolbars
• Window From Designer Error