chevron-thin-right chevron-thin-left brand cancel-circle search youtube-icon google-plus-icon linkedin-icon facebook-icon twitter-icon toolbox download check linkedin phone twitter-old google-plus facebook profile-male chat calendar profile-male
0 votes
After installing Typemock 7 with VS 2010, ReSharper 5.1, unit testing isn't possible anymore.
The following error message shows up:
Unit Test Runner failed to load test assembly:
JetBrains.ReSharper.TaskRunnerFramework.TaskException: The type
initializer for 'TypeMock.ArrangeActAssert.IsolateAttribute' threw an exception.
JetBrains.ReSharper.TaskRunnerFramework.TaskExcpetion: Could not load file or assembly 'Configuration, Version=6.0.10.0....


Isn't Typemock compatible with ResHarper 5.1 ?

Hans
asked by htschan (3.1k points)

2 Answers

0 votes
Hi,

Isolator v7 is compatible with Resharper test runner. This could be some environment issue that you are facing.

Can you please check the contents of your GAC for typemock assemblies:
Configuration
Typemock
Typemock.Interceptors


As of v7 you should have only the Typemock.Interceptors dll in your GAC.

Also, can you please paste from your test .csproj file the way you reference typemock assemblies?
answered by yoel (1.9k points)
0 votes
Thanks for the hint, now it works.

The error were caused by wrong project references.
answered by htschan (3.1k points)
...