views:

13

answers:

1

Hi all

If I add [DesignerAttribute("somenamespace.mycomponentdesigner, mydesignerlibrary.dll")] to the top of a class and then install that class into the tool palette, how do I then get the mydesignerlibrary.dll installed into VS so that VS can find the designer?

A: 

You can do it using Toolbox in the Visual Studio.

In the toolbox window, click right button on the mouse and choose menu 'Choose Items', then you use 'Browse' button for adding your dll component, then you can see it in the toolbox window in the Advanced Section(in the bottom).

oivoodoo
That's how you install the component itself, the designer (which is in another dll) cannot be installed in this fashion because it contains no installable components.
Peter Morris