ToolBox and CopyLocal

I have a set of custom controls which refers to some 3rd party dlls. Since these 3rd party controls are save on a single network location, we have been asked to refer them with CopyLocal = false. But if we set the copylocal to false, and try to add the controls to my Toolbox, I constantly get the error: <DLL> could not be loaded. Check that any dependencies that the file required are installed.

Is there a way I can add them to the toolbox without setting copylocal = true?

Who is Participating?
Mihai StancescuConnect With a Mentor Software Engineer Commented:
You can register them in the GAC, and then they will be saved locally, but not in your bin\Debug or bin\Release directory, they will stay
in Windows\Assembly..., and then browse them in the Choose Items Dialog... (they should appear without clicking the browse button).
 - Or -
You probably can do that by adding the reference yourself from the network location, add create them in your code. But this won't add them to the toolbox...

Hope this helps.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.