7

When I drop a third-party control onto a visual design surface in Visual Studio, any library references required by the control are automatically added to my project. I have an inherited version of a third-party control that I've added to the toolbox. However, when I drag it onto a form, only some of the references to the underlying third-party libraries are added. How can I specify additional references to be added?

Rachel Gallen
  • 27,943
  • 21
  • 72
  • 81
JoshL
  • 10,737
  • 11
  • 55
  • 61

1 Answers1

0

If you know the path to the DLL that contains the controls, read this.

It's the same in VS2008 as in VS2005.

honk
  • 9,137
  • 11
  • 75
  • 83
David
  • 72,686
  • 18
  • 132
  • 173
  • Well, my question in this case isn't how to add the reference, but rather how to code a control such that when it is dropped onto a design surface, necessary references are _automatically_ added to the project. – JoshL Feb 11 '13 at 16:06
  • @David: The link you provided seems to be dead. Can you fix it? – honk Jan 16 '16 at 19:58