G
Guest
I've got a solution with two projects. One project is a DLL that provides
services. It contains an User Control that provides a UI to some of these
services. The other project is an applet on which I've placed this User
Control. The reference from this project to the other is a 'project'
reference. I developed everything in debug - everything worked - life was
good. Then I built a release version and life has taken a change for the
worse.
The first symptom is that the control no longer draw in the designer.
Usually I can drop another instance from the toolbox and it will draw.
However, sometimes I get the following message box;
---------------------------
Microsoft Development Environment
---------------------------
The user control 'RDTA.ReportingServices.PdpDataExtension.PdpQueryControl'
could not be loaded. Ensure that the library containing the control has been
built and a project reference has been made to the library containing the
control. If you have changed the name of the user control, close and re-open
the control's designer to update the toolbox item.
---------------------------
OK
---------------------------
I've closed everything and rebuilt everything (I verified in the \bin\debug
and \bin\release folders). I've checed the reference (it was added as a
'project' reference) and it is to the respective \bin directory. Local copies
of all the dependancies exist in the respective \bin directory too.
So, what is the problem and how do I fix it?
services. It contains an User Control that provides a UI to some of these
services. The other project is an applet on which I've placed this User
Control. The reference from this project to the other is a 'project'
reference. I developed everything in debug - everything worked - life was
good. Then I built a release version and life has taken a change for the
worse.
The first symptom is that the control no longer draw in the designer.
Usually I can drop another instance from the toolbox and it will draw.
However, sometimes I get the following message box;
---------------------------
Microsoft Development Environment
---------------------------
The user control 'RDTA.ReportingServices.PdpDataExtension.PdpQueryControl'
could not be loaded. Ensure that the library containing the control has been
built and a project reference has been made to the library containing the
control. If you have changed the name of the user control, close and re-open
the control's designer to update the toolbox item.
---------------------------
OK
---------------------------
I've closed everything and rebuilt everything (I verified in the \bin\debug
and \bin\release folders). I've checed the reference (it was added as a
'project' reference) and it is to the respective \bin directory. Local copies
of all the dependancies exist in the respective \bin directory too.
So, what is the problem and how do I fix it?