Unit Test Adapter threw exception:

Topics: Logging Application Block
Jul 8, 2011 at 11:04 PM

I just started using the Logging Application Block and came across a problem.

I get the following error when I unit test (msTest, vs 2010) a class that uses the logger:

 

Unit Test Adapter threw exception: Type is not resolved for member 'Microsoft.Practices.ServiceLocation.ActivationException,Microsoft.Practices.ServiceLocation, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'..

The class (and logging) works fine out side of the test framework. Any ideas what to do?

Jul 11, 2011 at 1:45 AM

Hi,

I don't have an idea on this one as I'm afraid this is more of an MsTest question. You can ask this to MsTest forum to get better answer. You can also check the suggestion on this link and see if it solves the issue.

 

Noel Angelo Bolasoc
Global Technologies and Solutions
Avanade, Inc.
entlib.support@avanade.com