Created attachment 6686 [details]
example project and binaries
Steps to reproduce:
* Create empty application referencing log4net
* add log4net section to app.config
* deploy log4net.dll to a subdirectory and add that directory to the privatePath in the app.config
Expected outcome: log4net is found in configured privatePath in all cases
Actual outcome: probing for log4net causes a System.IO.FileNotFoundException: Could not load file or assembly 'log4net, ...' if the log4net section is before the runtime section in the app.config file.
I've added a example project demoing the effect. running the test exe in the ProbingPathTest/bin/Works directory finds the log4net dll, with the config in the ProbingPathTest/bin/Fails the exception is thrown.
I'm testing on $ mono --version
Mono JIT compiler version 3.2.8 (Debian 3.2.8+dfsg-4)
Copyright (C) 2002-2014 Novell, Inc, Xamarin Inc and Contributors. www.mono-project.com
LLVM: supported, not enabled.