I just upgraded log4net in my project and am having some assembly binding issues because a component relies on an older version of log4net.
The version expected by the component is
log4net, Version=1.2.10.0, Culture=neutral, PublicKeyToken=1b44e1d426115821
The version I have is
log4net, Version=1.2.12.0, Culture=neutral, PublicKeyToken=669e0ddf0bb1aa2a
How do I cause this binding to resolve properly (there is only one api difference and it should not matter for this component).
I have tried adding the following to my web.config but it does not work.
<dependentAssembly>
<assemblyIdentity name="log4net" publicKeyToken="1b44e1d426115821" culture="neutral" />
<bindingRedirect oldVersion="1.2.10.0" newVersion="1.2.12.0" />
</dependentAssembly>