Michael Stephenson

Microsoft BPM/SOA Adventures
posts - 187, comments - 185, trackbacks - 15

My Links

News

View Michael Stephenson's profile on BizTalk Blog Doc View Michael Stephenson's profile on LinkedIn

Archives

Post Categories

Image Galleries

BizTalk

Mates

MsTest Error - Unit Test Adapter threw exception

Problem

I was trying to run my tests through the visual studio IDE, i was getting the following error:

Unit Test Adapter threw exception: System.Reflection.ReflectionTypeLoadException: Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information..

Symptoms

The following symptoms existed:

  • If i chose to debug the tests they all worked.  They only failed when doing a normal run
  • Some of my assemblies were signed

Solution

The solution is that in the code coverage section of the test run config i needed to supply a key to resign the assemblies

Print | posted on Monday, February 12, 2007 10:45 AM | Filed Under [ .net 2 ]

Feedback

No comments posted yet.
Post A Comment
Title:
Name:
Email:
Website:
Comment:
Verification:
 

Powered by: