Solved

ToolBox and CopyLocal

Posted on 2006-10-30
1
252 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Code works but I need to redo it and assign values to Model 7 32
Resolve Dependency Issues 4 42
Data is not showing from images 15 37
Not showing JavaScript in the list 5 36
Article by: Ivo
C# And Nullable Types Since 2.0 C# has Nullable(T) Generic Structure. The idea behind is to allow value type objects to have null values just like reference types have. This concerns scenarios where not all data sources have values (like a databa…
Performance in games development is paramount: every microsecond counts to be able to do everything in less than 33ms (aiming at 16ms). C# foreach statement is one of the worst performance killers, and here I explain why.
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…
This is a video describing the growing solar energy use in Utah. This is a topic that greatly interests me and so I decided to produce a video about it.

911 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

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now