VS2008 Form designer does not open form with generic types
- From: "Andrus" <kobruleht2@xxxxxx>
- Date: Sat, 9 Feb 2008 22:11:05 +0200
I created WinForms form containing generic DataGridView on and some other
controls.
Forms designer will not open this form anymore.
Error text is shown below. Application runs this form OK, rebuild all does
not fix.
I tried to change form base class to non-generic class but this does not
help.
I need to add new button to this form.
Manually changing designer generated code is difficult.
Any idea ?
Andrus.
Error which I got:
Warning 1 The designer could not be shown for this file because none of the
classes within it can be designed. The designer inspected the following
classes in the file:
BrowseForm --- The base class 'MyApp.ARBusinessBaseForm<T>' could not be
loaded. Ensure the assembly has been referenced and that all projects have
been built. 0 0
at
System.ComponentModel.Design.Serialization.CodeDomDesignerLoader.EnsureDocument(IDesignerSerializationManager
manager)
at
System.ComponentModel.Design.Serialization.CodeDomDesignerLoader.PerformLoad(IDesignerSerializationManager
manager)
at
Microsoft.VisualStudio.Design.Serialization.CodeDom.VSCodeDomDesignerLoader.PerformLoad(IDesignerSerializationManager
serializationManager)
at
Microsoft.VisualStudio.Design.Serialization.CodeDom.VSCodeDomDesignerLoader.DeferredLoadHandler.Microsoft.VisualStudio.TextManager.Interop.IVsTextBufferDataEvents.OnLoadCompleted(Int32
fReload)
.
- Follow-Ups:
- Re: VS2008 Form designer does not open form with generic types
- From: Nicholas Paldino [.NET/C# MVP]
- Re: VS2008 Form designer does not open form with generic types
- Prev by Date: NetMassDownloader Download .Net Framework Source Code At Once, Enables Offline Debug In VS 2008,2005 And CodeGear Rad Studio
- Next by Date: Re: Best way to group data (in XML)
- Previous by thread: NetMassDownloader Download .Net Framework Source Code At Once, Enables Offline Debug In VS 2008,2005 And CodeGear Rad Studio
- Next by thread: Re: VS2008 Form designer does not open form with generic types
- Index(es):