DEV Community

baris
baris

Posted on

Answer: log4net - LogicalThreadContext - and unit test cases

If you are having meaningless errors related to log4net, this answer might save a ton of time for you.

-> Type is not resolved for member 'log4net.Util.PropertiesDictionary,log4net...

I ended up doing this to get it working:

put this in the TestCleanup() method:

CallContext.FreeNamedDataSlot("log4net.Util.LogicalThreadContextProperties");

Latest comments (0)