We updated from 3.1 to 4.1. Everything compiles. Everything seems to work, until we try to handle a custom exception.
Here's the exception message that EntLib gives us: {"Unable to handle exception: 'LoggingExceptionHandler'."}
There is no nested exception. There is no documentation that the function call could possibly throw that exception. Nothing. Nada.
So, instead, we go through the hassle of attempting to get the debug version built and then try to figure out how or why we can't get that to hook up with some of our assemblies, only to find out that the frikking idiots who wrote the library purposefully eat the exception.
See, here in the real world, when clients tend to get annoyed at paying lots of money for no actual results, an error message like this: {"The configured exception formatter 'xxxx.Common.Instrumentation.CommonExceptionTextFormatter, FLLegislature.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' must expose a public constructor that takes a TextWriter object, an Exception object and a GUID instance as parameters."}
Would have been really frikking handy last night.
I applaud the effort behind EntLib, but to be honest, every time I have to code against it, I'm left with the desire to just roll my own.