Jan,

Two things:
(1) The client WinForm must be in a separate project from the components.
The client project and the component project may both be part of the same
solution, and the same assembly.
(2) When adding the reference to the component project, look under the
Projects tab (not the .NET tab) in the Add Reference dialog.

Bill

On Thu, 30 May 2002 11:35:29 +0200, Jan Dropczynski <j.dropczynski@THONA-
CONSULTING.COM> wrote:

>Hi,
>I have a problem with the Visual Studio designer.
>The problem is that the designer could not display
>my components.
>I have the following scenario. I have my own WinForm
>that uses my own components (derived from UserControl).
>These components are in the same assembly as the
>WinForm but in a sub-namespace. For example, the
>WinForm is in the namespace 'MyApplication.UI' and the
>components are in the namespace 'MyApplication.UI.Personal'.
>Visual Studio Designer needs a reference to the assembly
>that contains the components to display these once. But
>it is the same assembly and it cannot be referenced in
>itself!
>What can I do? Can anybody help me?
>
>Thanks and Regards,
>
>Jan Dropczynski
>Software-Engineer
>THONA Consulting Ltd.
>
>
>You can read messages from the DOTNET archive, unsubscribe from DOTNET, or
>subscribe to other DevelopMentor lists at http://discuss.develop.com.

You can read messages from the DOTNET archive, unsubscribe from DOTNET, or
subscribe to other DevelopMentor lists at http://discuss.develop.com.

Reply via email to