- #Could not load file or assembly log4net version 1.2 10.0 how to
- #Could not load file or assembly log4net version 1.2 10.0 update
But which of the assemblies referenced in my project are suspects? How to check all the referenced assemblies of references assemblies? It’s task nobody would like to perform manually. Ok, there is a conflict between incompatible versions of log4net assembly. (Exception from HRESULT: 0x80131040) Not able to extract code, error:Value cannot be null. The located assemblys manifest definition does not match the assembly reference.
Choosing "log4net, Version=1.2.13.0, Culture=neutral, PublicKeyToken=669e0ddf0bb1aa2a" arbitrarily. ERROR: Could not load file or assembly log4net, Version1.2.10.0, Cultureneutral, PublicKeyToken692fbea5521e1304 or one of its dependencies. Then I checked the build log and found this line No way to resolve conflict between "log4net, Version=1.2.13.0, Culture=neutral, PublicKeyToken=669e0ddf0bb1aa2a" and "log4net, Version=1.2.10.0, Culture=neutral, PublicKeyToken=692fbea5521e1304". The system cannot find the file specified.}}įirst I checked the bin directory and the assembly was not there. That means it can’t be loaded by IIS, which is 圆4 on this machine. The Processor Architecture for the log4net assembly is set to x86. Exception Details: System.IO.FileLoadException: Could not load file or assembly log4net, Version1.2.10.0, Cultureneutral, PublicKeyToken692fbea5521e1304 or one of its dependencies. The located assembly’s manifest definition does not. The located assembly's manifest definition does not match the assembly reference. Could not load file or assembly ‘log4net, Version1.2.15.0, Cultureneutral, PublicKeyToken669e0ddf0bb1aa2a’ or one of its dependencies. The located assemblys manifest definition does not match the assembly reference. Or could it Having a second (and closer) look at the log4net assembly in the GAC one thing stood out. Upgrading EPiServer to the latest version, I get the error: 'Could not load file or assembly 'log4net, Version1.2.10.0, Cultureneutral, PublicKeyToken1b44e1d426115821' or one of its dependencies. Could not load file or assembly log4net, Version1.2.10.0, Cultureneutral, PublicKeyToken1b44e1d426115821 or one of its dependencies.
#Could not load file or assembly log4net version 1.2 10.0 update
> System.IO.FileNotFoundException : Could not load file or assembly 'log4net, Version=1.2.11.0, Culture=neutral, PublicKeyToken=669e0ddf0bb1aa2a' or one of its dependencies. It will update log4net version to 1.2.11 but when I run the code it will try to find 1.2.10.0. What was was worse and strange was the reason why they were failing System.TypeInitializationException : The type initializer for '' threw an exception. In one of my test projects the tests suddenly started to fail.