I have a console app when i try to run it it gives me an error as below
Could not load file or assembly 'log4net, Version=1.2.12.1, Culture=neutral, PublicKeyToken=3b1eff33c294cec4' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
Tried adding binding redirect coudn't fix the issue.
<runtime>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<dependentAssembly>
<assemblyIdentity name="log4net"
publicKeyToken="1b44e1d426115821"
culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-5.0.0.0" newVersion="1.2.10" />
<!--<bindingRedirect oldVersion="1.2.12.1"
newVersion="1.2.10.0"/>-->
</dependentAssembly>
</assemblyBinding>
</runtime>
User contributions licensed under CC BY-SA 3.0