We then made use of the assembly dependency property of CLR to place these assemblies in two different folders and then give instruction to the clr on how to load them.
<runtime>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<dependentAssembly>
<assemblyIdentity name="log4net"
publicKeyToken="1b44e1d426115821"
culture="neutral" />
<codeBase version="1.2.10.0"
href="bin\log4net\v1210\log4net.dll"/>
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="log4net"
publicKeyToken="b32731d11ce58905"
culture="neutral" />
<codeBase version="1.2.9.0"
href="bin\log4net\v1209\log4net.dll"/>
</dependentAssembly>
</assemblyBinding>
</runtime>
No comments:
Post a Comment