Hi,
I have a class (say O1) that overrides
System::Windows::Forms::UserControl and then another one that overrides
O1 (call it O2). O2 used to work with the Designer as it was inheriting
directly from UserControl (and was created using the wizard) but since
I inserted O1 into inheritance tree (without resx, straight override) I
get the error pasted at the bottom when trying to open O2 in Designer.
I deleted the NCB file to no avail. Everything builds and runs just
fine. Can anyone help? Thanks.
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: O2 --- The base class 'O1' could not be loaded.
Ensure the assembly has been referenced and that all projects have been
built.
Hide
at
System.ComponentModel.Design.Serialization.CodeDom DesignerLoader.EnsureDocument(IDesignerSerializati onManager
manager)
at
System.ComponentModel.Design.Serialization.CodeDom DesignerLoader.PerformLoad(IDesignerSerializationM anager
manager)
at
Microsoft.VisualStudio.Design.Serialization.CodeDo m.VSCodeDomDesignerLoader.PerformLoad(IDesignerSer ializationManager
serializationManager)
at
System.ComponentModel.Design.Serialization.BasicDe signerLoader.BeginLoad(IDesignerLoaderHost
host)