PC Review


Reply
Thread Tools Rate Thread

Locate assemblies in "common files" directory

 
 
sudhakar
Guest
Posts: n/a
 
      23rd Feb 2005
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


 
Reply With Quote
 
 
 
 
Chris, Master of All Things Insignificant
Guest
Posts: n/a
 
      23rd Feb 2005
Why not put these files in the GAC? That's why MS created it.

Chris


"sudhakar" <mailto-(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> 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
>
>



 
Reply With Quote
 
sudhakar
Guest
Posts: n/a
 
      24th Feb 2005
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
"Chris, Master of All Things Insignificant" <chris@No_Spam_Please.com> wrote
in message news:%(E-Mail Removed)...
> Why not put these files in the GAC? That's why MS created it.
>
> Chris
>
>
> "sudhakar" <mailto-(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)...
>> 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
>>
>>

>
>



 
Reply With Quote
 
David Levine
Guest
Posts: n/a
 
      25th Feb 2005
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.

"sudhakar" <mailto-(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> 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
> "Chris, Master of All Things Insignificant" <chris@No_Spam_Please.com>
> wrote in message news:%(E-Mail Removed)...
>> Why not put these files in the GAC? That's why MS created it.
>>
>> Chris
>>
>>
>> "sudhakar" <mailto-(E-Mail Removed)> wrote in message
>> news:(E-Mail Removed)...
>>> 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
>>>
>>>

>>
>>

>
>



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to get the path of "Common Files" directory Norbert Pürringer Microsoft Dot NET 1 12th Mar 2008 02:00 PM
"Access denied" on the "Program Files" directory - Win XP Prof SP2 mblasich@yahoo.com Windows XP Security 2 16th Dec 2006 11:23 PM
Assemblies can be loaded from "/Temporary ASP.NET Files/..." but not from "/bin" Boris Microsoft ASP .NET 1 15th Jun 2006 07:03 PM
"Program Files" directory shows up as "Accessibility" in Windows Explorer?? CrumbBread@gmail.com Windows XP Help 1 24th Apr 2006 07:06 AM
"Program Files" directory shows up as "Accessibility" in Windows Explorer?? CrumbBread@gmail.com Windows XP General 0 23rd Apr 2006 07:01 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 01:30 PM.