Locate assemblies in "common files" directory

S

sudhakar

Hi
I've two products which share lot of common DLLs. I want to create a common
directory (under say c:\program files\common files\company name) and store
these common DLLS.

Now how can i make my executables (or other assemblies) search for the
dependecnt DLLs in this common directory ?

Thanks

-sudhakar
 
C

Chris, Master of All Things Insignificant

Why not put these files in the GAC? That's why MS created it.

Chris
 
S

sudhakar

Thanks chris
Due to our company's internal policies, we wud like to maintain it in the
"common files" folder. Is there any way i can give this path , probably in
the app.config ?
-sudhakar
 
D

David Levine

If you can create an app.config file for each product then for each common
file you can specify a codebase hint. This allows you to put the file in a
directory other then the application's and the runtime will be able to
access it.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top