On 2011-12-11, Peter Bickford wrote: > I'm attempting to upgrade (at last!) the log4net install on my ASP.NET (II7, > 64 bit, Windows 2008) web site to log4net v1.2.11.0.
Good idea 8-) > The web app was originally built with v1.2.0.30714. Unfortunately, > simply replacing the reference in my ASP.NET Bin directory results in > the error: > Could not load file or assembly 'log4net, Version=1.2.0.30714, > Culture=neutral, PublicKeyToken=b32731d11ce58905' or one of its > dependencies. The located assembly's manifest definition does not match the > assembly reference. (Exception from HRESULT: 0x80131040) Most likely one of the other DLLs in your BIN directory has ben built against the older version of log4net and references it. Unless you can re-compile all DLLs against the newer version your best option is to use the 1.2.11 binary signed with the "old" strong name key. Stefan