Mdi base class not loading

A

almurph

Folks,

Hope you can help me with this one. I have a winform which I cannot
view in design mode. A ll I can see is a big red "X" and the following
following error message:

" 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:

frmMainSearch --- The base class 'frmMdiBase' could not be loaded.
Ensure the assembly has been referenced or built if it is part of the
project."





Extra Details:
Visual Studio 2003 v7.1.3088
ASP.NET v1.1.4322 SP1
Windows XP Professional Version 2002 SP2
 
P

Peter Duniho

[...]
frmMainSearch --- The base class 'frmMdiBase' could not be loaded.
Ensure the assembly has been referenced or built if it is part of the
project."

From the message, it sounds to me as though the designer could not load
your base class, named "frmMdiBase". Have you checked to make sure that
your project actually references that class somehow? Either by declaring
it itself, or having an explicit reference to the assembly where it's
defined?

Pete
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top