Thomas
Thomas

Reputation: 5921

Resharper test runner throw a TypeLoadException

When I try to launch my unit tests, a error windows appears :

System.TypeLoadException: Method 'get_SolutionDirectory' 
in type 'JetBrains.ReSharper.UnitTestRunner.MSTest.RunContext' ... 
does not have an implementation.

The ReSharper version is : 7.0.1098.2760

Any suggestions?

Upvotes: 1

Views: 1554

Answers (2)

Thomas
Thomas

Reputation: 5921

For everyone after me, I changed the Framework of test from

Microsoft.VisualStudio.QualityTools.UnitTestFramework

To

nunit.framework

And it works fine.

Good Luck for all!

Upvotes: -2

Piotr Stapp
Piotr Stapp

Reputation: 19838

It is a well know problem in resharpr 7.0: (you could look at discussion on jetbrains forum) The easiest way is to upgrade resharper to newer version (7.1.3 is the latest 7.x version). It is a free upgrade

Upvotes: 6

Related Questions