2012/1/25 Patrick Earl <[email protected]>: > I also agree that we shouldn't be automatically loading assemblies just > because they're in the GAC. > > Patrick Earl
Before the introduction of the loggin abstraction when log4net was required, it would have been loaded from the GAC if available right? When the change was made it would then mean that it was no longer enough to have it in GAC, i.e. a breaking change (which I don't seem to find in the release notes). If we don't want to use Assembly.Load(), other alternatives: 1) Find the path of NHibernate.dll and expect log4net.dll to be in the same folder. Though NHibernate.dll may be in the GAC. 2) Fix the code to properly handle semicolons in RelativeSearchPath, which can occur according to the documentation. /Oskar
