Re: How to setup all dlls in a separate folder?
- From: "Vadym Stetsyak" <vadym_s@xxxxxxx>
- Date: Sat, 2 Sep 2006 13:14:39 +0300
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
.
- Follow-Ups:
- Re: How to setup all dlls in a separate folder?
- From: Georges BESSIS
- Re: How to setup all dlls in a separate folder?
- References:
- How to setup all dlls in a separate folder?
- From: Georges BESSIS
- How to setup all dlls in a separate folder?
- Prev by Date: Re: Redistributing .net Framework 1.1 SP 1
- Next by Date: Re: ClickOnce issues and questions...
- Previous by thread: How to setup all dlls in a separate folder?
- Next by thread: Re: How to setup all dlls in a separate folder?
- Index(es):
Relevant Pages
|