ssmoot wrote:
Seconded! We use a custom build of NHibernate at work just so we could use 1.2.9 (it's a drop-in replacement if you ignore the DOMConfigurator warnings).
You dont need to use custom build of NHibernate. Because Log4net 1.2.9 is drop-in replacement, NHibernate works with it without any problems. Just need to redirect assembly binder to use different version of log4net assembly. Add following to your application configuration file:
Code:
<runtime>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<dependentAssembly>
<assemblyIdentity name="log4net"
publicKeyToken="b32731d11ce58905"
culture="neutral" />
<bindingRedirect oldVersion="1.2.0.30714"
newVersion="1.2.9.0"/>
</dependentAssembly>
</assemblyBinding>
</runtime>
Bye