CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    Feb 2004
    Location
    Germany
    Posts
    153

    UserControls and ToolBox

    Hi,

    I have some trouble with a C# controls dll and the Visual Studio ToolBox.
    ( Visual Studio 2003, .NET 1 ).

    The Situation is:
    I have one c# dll with some usercontrols in it.
    I have another project which references this dll and uses some controls of it.

    Now the usercontrols in the dll doesn't automatically appear in the toolbox.
    So i added them manually by specifying directly the controls dll.

    Now the problems began.
    When compiling the project, an error came up, because the referenced dll couldn't be copied by the other project ( I think the dll is still loaded by the IDE ).

    Any ideas or experiences with this problem ?
    Thanks,
    Matze

  2. #2
    Join Date
    Apr 2005
    Posts
    298

    Re: UserControls and ToolBox

    I had this once. but not anymore in VS2K5 - now usercontrols automatically appear in the toolbox.

    You should try reference the project instead of DLL. Or compile each separately

  3. #3
    Join Date
    Feb 2004
    Location
    Germany
    Posts
    153

    Re: UserControls and ToolBox

    Hi FoodBard,

    thanks for reply.
    I already references the projects.
    I think the problem is the IDE, which loads the dlls and don't releases it.

    Matze

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured