Solved

ToolBox and CopyLocal

Posted on 2006-10-30
1
255 Views
Last Modified: 2010-04-16
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?

Thanks
0
Comment
Question by:srinivas_vemla
1 Comment
 
LVL 11

Accepted Solution

by:
Mihai Stancescu earned 500 total points
ID: 17840147
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.

Regards,
Mishu
0

Featured Post

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction This article series is supposed to shed some light on the use of IDisposable and objects that inherit from it. In essence, a more apt title for this article would be: using (IDisposable) {}. I’m just not sure how many people would ge…
This article describes a simple method to resize a control at runtime.  It includes ready-to-use source code and a complete sample demonstration application.  We'll also talk about C# Extension Methods. Introduction In one of my applications…
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

820 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question