Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / Setup / September 2006

Tip: Looking for answers? Try searching our database.

How to setup all dlls in a separate folder?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Georges BESSIS - 01 Sep 2006 13:03 GMT
Hi,

When installing my app on a client system, I want to setup all dlls used by
my app in a separate folder, in order to keep my installation folder
cleaner.

I guess I'll  have to do something in the .config file. How does that works?

Thanks in advance

GB
Vadym Stetsyak - 02 Sep 2006 11:14 GMT
Hello, Georges!
You wrote  on Fri, 1 Sep 2006 14:03:46 +0200:

GB> When installing my app on a client system, I want to setup all dlls
GB> used by my app in a separate folder, in order to keep my installation
GB> folder cleaner.

GB> I guess I'll  have to do something in the .config file. How does that
GB> works?

Yes, you have to tell the CLR where to look for your assemblies.
Keyword here is "probing".
( http://msdn2.microsoft.com/en-us/library/15hyw9x3.aspx )

If folder, where you put your asseblies is "bin", or "bin2" then config file
look like

<configuration>
   <runtime>
       <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
           <probing privatePath="bin;bin2;"/>
       </assemblyBinding>
   </runtime>
</configuration>

--
Regards, Vadym Stetsyak.
Blog: http://vadmyst.blogspot.com
Georges BESSIS - 05 Sep 2006 19:36 GMT
Many thanks Vadym. Your info saved me some time and did help!

Regards

GB

> Hello, Georges!
> You wrote  on Fri, 1 Sep 2006 14:03:46 +0200:
[quoted text clipped - 24 lines]
> Regards, Vadym Stetsyak.
> Blog: http://vadmyst.blogspot.com

Rate this thread:







Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.