Locate assemblies in "common files" directory

  • Thread starter Thread starter sudhakar
  • Start date Start date
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
 
Why not put these files in the GAC? That's why MS created it.

Chris
 
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
 
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.
 
Back
Top