Visual Studio crashes [modified]
-
Hello, when I add a custom ToolStripItem (derived as shown below) to a ToolStrip at designtime in Visual Studio 2005, it crashes Visual Studio after ca. 3-4 times adding...although my class works quite well when I add it manually to the ToolStrip at runtime... This error seems to arise only when I use the DateTimePicker control, with other controls there are no problems...
[ToolStripItemDesignerAvailability( ToolStripItemDesignerAvailability.ToolStrip)] public class ToolStripDateTimeItem : ToolStripControlHost { public ToolStripDateTimeItem() : base(new DateTimePicker()) {} }
So here is my question: does anybody got this kind of problem as well...and if so, is there a Service Pack already available for VS 2005 which solves this problem? -- modified at 10:01 Friday 21st July, 2006 -
Hello, when I add a custom ToolStripItem (derived as shown below) to a ToolStrip at designtime in Visual Studio 2005, it crashes Visual Studio after ca. 3-4 times adding...although my class works quite well when I add it manually to the ToolStrip at runtime... This error seems to arise only when I use the DateTimePicker control, with other controls there are no problems...
[ToolStripItemDesignerAvailability( ToolStripItemDesignerAvailability.ToolStrip)] public class ToolStripDateTimeItem : ToolStripControlHost { public ToolStripDateTimeItem() : base(new DateTimePicker()) {} }
So here is my question: does anybody got this kind of problem as well...and if so, is there a Service Pack already available for VS 2005 which solves this problem? -- modified at 10:01 Friday 21st July, 2006Best thing to do is to go to http://connect.microsoft.com/VisualStudio[^] and search for the issue, and if not already known, enter a new bug. If it's really a blocking issue for you - you can't wait for a subsequent service pack, because I think SP1 is now entering final testing - then you'll have to call MS Product Support and see if they can issue you a hotfix. Generally your support call is refunded if a hotfix is issued, although this isn't completely guaranteed. Stability. What an interesting concept. -- Chris Maunder