I had VS2010, installed Typemock 7.0.9 to make sure all was working before installing 2012. Installed 2012, and the tests run fine by themselves, but when I try to get code-coverage (which re-runs the tests) I get an error. Re-installed Typemock 7.0.9, tests still won't run with code-coverage.
Test error is (and Visual Studio 2012 doesn't let me copy and paste, so I'm summarizing):
threw exception: Sytem.TypeInitializationException: The type initializer for 'f5' threw an exception. ---> System.TypeInitializationException: The type type intitializer 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 -> Enbable Typemock Isolator from with Visual Studio
To be clear, Typemock is listed in the Add-in Manager, checked and checked for Startup as well.