System.IO.FileLoadException: Could not load file or assembly Log4net
问题 I added an existing project to my solution. When I run all unit tests with MSTest runner, I get the following error on a couple of tests: Message: Test method soandso threw exception: System.IO.FileLoadException: Could not load file or assembly 'log4net, Version 1.2.12.0, Culture=neutral, PublicKeyToken=669e0ddf0bb1aa2a' or one of it's dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT:0x80131040) I know others have had the