471,337 Members | 874 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,337 software developers and data experts.

DLL Location problem

Hi,

I have an application that requires some DLL's that exist in a different
directory (not a child directory of the application's directory).

This application loads the file using reflection. So even if I can load up a
DLL A by providing the path, if that A has a dependency B, and B is in the
same directory as A, then the assembly can't be loaded.

Because the DLL's are not in a child directory, I can't use app.config to
add additional directories to the probing path (what a horribly annoying
limitation).

Making these DLL's signed and placed in the GAC is *not* an option in this
case.

It is basically a development nightmare, that every time the other DLL's
change, to have to copy them over to the application's directory, since
other people may have changed them, etc.

Anyway, given these restrictions, is there anyway to automatically add
another non-child directory as a place to look for DLL's?
Aug 18 '05 #1
0 961

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

19 posts views Thread by Darren | last post: by
4 posts views Thread by JMUApache | last post: by
6 posts views Thread by G*rd*n | last post: by
4 posts views Thread by andreas.w.h.k. :-\) | last post: by
9 posts views Thread by permanent.tourist | last post: by
2 posts views Thread by Venkatesh | last post: by
5 posts views Thread by soni2926 | last post: by
reply views Thread by rosydwin | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.