Try our conversational search powered by Generative AI!

Episerver.CommonFramework vs Episerver.Logging

Vote:
 

Trying to upgrade to Epi 11 and got a conflict between the CommonFramework, which uses an old NHibernate and is stuck on log4net 1.2 and the Episerver.Logging.Log4net which uses log4net > 2.

The advice in the previous topic (https://world.episerver.com/forum/developer-forum/Problems-and-bugs/Thread-Container/2016/1/could-not-load-file-or-assembly-39log4net-version1-2-10-0/), to downgrade the logging doesn't work because that version is only valid for Epi 10. Can't ditch the CommonFramework because the site is using Community.

#208523
Oct 25, 2019 15:10
Vote:
 

NHibernate is requiring log4net 1.2 or CommonFramework?

#208548
Oct 26, 2019 14:20
Vote:
 

Episerver Community needs Epi CommonFramework which needs NHibernate which needs old log4net

Episerver Logging Log4net needs new log4net

Both being Episerver 11. Only way currently to get around it appears to be binding to two separate log4net dlls in web.config.

#208557
Oct 28, 2019 10:32
Vote:
 

hmm, interesting. are you referring to this package? https://nuget.episerver.com/package/?id=EPiServer.CommonFramework

#208813
Nov 02, 2019 5:03
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.