A
Andrus
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)
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)