ExceptionHandler Error

Jul 24, 2011 at 3:01 PM

When I try to create the UnityContainer using

new UnityContainer().AddNewExtension<EnterpriseLibraryCoreExtension>();

there is an error :

The type 'Microsoft.Practices.EnterpriseLibrary.ExceptionHandling.Logging.LoggingExceptionHandler, Microsoft.Practices.EnterpriseLibrary.ExceptionHandling.Logging, Version=5.0.505.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' cannot be resolved. Please verify the spelling is correct or that the full type name is provided.

 

By the way , I make the exception logged by Microsoft.Practices.EnterpriseLibrary.ExceptionHandling.Logging.LoggingExceptionHandler in my app.config.

Any idea will be appreciative.

Jul 25, 2011 at 2:52 AM

Basic question first is, have you already referenced the Microsoft.Practices.EnterpriseLibrary.ExceptionHandling.Logging.dll?

 

Noel Angelo Bolasoc
Global Technologies and Solutions
Avanade, Inc.
Contact Us