I'm using NHibernate 2.1.2.400 that is referencing log4net 1.2.10.0. In the same project, I also use the simply accounting SDK, sadly it is still using log4net 1.2.9.0.
So I can get NHibernate to work if I reference log4net 1.2.10.0 but the simplySDK don't work. And vice versa...
I'm guessing most of the problems come from the fact that log4net has changed it's assembly key. I Tried using a binding redirection without success: the 2 dlls do not have the same key.
I'm considering recompiling NHibernate to use log4net 1.2.9.0 but it seems like the wrong thing to do and my feeling is that Simply Accounting won't be very quick to update their SDK to use log4net 1.2.10.0.
I'm using .net 4.0
Could using a probing private path in the app.config file help?
What is the best way to handle this? Is it possible to resolve at all?