Unit Test Adapter threw exception

When trying to run my tests on a project I was working on I ran into 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…

This happened after I setup all my projects to have a strong name.  And the solution is straight forward:  Go to the test run config and set the Re-signing key file to the same key you use to strong name your assemblies.

Unit Test Adapter threw exception

Comments

Popular Posts