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
Been trying to install TypeMock for the last 2 days, without any luck. When running my NUnit tests with either resharper or ncrunch, I get the following error.

System.TypeInitializationException : The type initializer for 'f0' threw an exception.
----> System.TypeInitializationException : The type initializer for 'TypeMock.InterceptorsWrapper' threw an exception.
----> TypeMock.TypeMockException :
*** Typemock Isolator is not currently enabled.
To enable do one of the following:

* To run Typemock Isolator as part of an automated process you can:
- run tests via TMockRunner.exe command line tool
- use 'TypeMockStart' tasks for MSBuild or NAnt

* To work with Typemock Isolator inside Visual Studio.NET:
set Tools->Enable Typemock Isolator from within Visual Studio

For more information consult the documentation (see 'Running' topic)


Note I've enabled typemock for 3rd part runners. I've reisntalled, repaired installation, repaired the reg database, rebooted etc. No dice. What am I missing here.

Any information is greatly appreciated.

/Jasper

Info:
TypeMock 7.6.5.0 and 7.0.5.0
Resharper 8.2.1
NCrunch 2.9.0.8
Visual Studio 12.0.30723.00 Update3
.NET Framework 4.5
asked by jnus (3.9k points)

2 Answers

0 votes
Did the wiggle pattern a couple of times and it suddenly worked.

IMHO, this shouldn't be this difficult. This is by far the most time consuming framework to install and maintain (both client and build server), we have in our toolbox. Been messing with this installation for almost a full day - not a happy camper...
answered by jnus (3.9k points)
0 votes
Hi Jasper,

Thank you for the feedback and sorry for the experience.
We're aiming to make the integrations of Isolator as easy possible, and we're improving over time.

If you have ideas about how to ease the use of our tools we'll be more than happy to read them.
answered by alex (17k points)
...