title: Why do I have to reference the ExceptionHandling.Logging dll in client code?
body: <p>I've got a data access layer that is compiled into a dll. Within this layer, I'm using Microsoft.Practices.EnterpriseLibrary.ExceptionHandling.Logging.dll to log exceptions and then throw them back to the caller. </p>
  
  <p>I've got a client application that references the data access layer dll but does not directly call into the Microsoft.Practices.EnterpriseLibrary.ExceptionHandling.Logging.dll. I get the following runtime exception in my client code when an exception occurs in the data access layer unless I add a reference to the Enterprise Library dll from my client application.</p>
  
  <p>The type 'Microsoft.Practices.EnterpriseLibrary.ExceptionHandling.Logging.LoggingExceptionHandler, Microsoft.Practices.EnterpriseLibrary.ExceptionHandling.Logging, Version=5.0.414.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' cannot be resolved. Please verify the spelling is correct or that the full type name is provided.</p>
  
  <p>I don't understand why it's necessary for the client to reference the Enterprise Library dll even though it's not referencing it in code.</p>
  
  <p>Any thoughts would be appreciated.</p>