Microsoft.Practices.EnterpriseLibrary.ExceptionHandling.Logging.LoggingExceptionHandler Cannot Be Resolved

Having got the error in the title you may also have noticed
EnterpriseLibraryContainer.Current throws an ArgumentException.

The reason for this is that you are missing a reference to the ExceptionHandler.Logging dll
i.e. Microsoft.Practices.EnterpriseLibrary.ExceptionHandling.Logging.dll

…And/Or you have not copied that dll to the bin directory of your solution.

You wouldn’t forget something as simple as that, would you ?

I certainly didn’t.
And neither did NORBERT my invisible Aardvark snowboarding companion.

And that full error text for your unmitigated reading pleasure:

‘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.


Tags: , , ,

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: