Hi,
with 7.1.3 I can see the TypeMock bar now.
But if I run a test the error message is:
System.TypeInitializationException : Der Typeninitialisierer für "fv" hat eine Ausnahme verursacht.
----> System.TypeInitializationException : Der Typeninitialisierer für "TypeMock.InterceptorsWrapper" hat eine Ausnahme verursacht.
----> 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
I highlighted the option I tried. But there is no 'Enable Typemock ...' entry in Tools!
I believe that the code is irrelevant because it happens everytime I have a reference to the 'Isolator' - API in a test and even if I try to run a simple test, obviously without any reference to Isolator, like
[Test]
public void TryToAccessDB_OpenDBConnection_ShouldOpen ()
{
using (CommerceObjectContext context = new CommerceObjectContext ())
{
Assert.That (context.Products.Any ());
}
}
The 'TypeMock/TestRunner" fails with all sorts of connection errors because of claimed errors in the connection string. But the test run with "ReSharper.TestRunner" or 'VS/TestRunner" it does not fail.
Any Ideas?
BTW, tried your examples -> same result!!!!!!!
I am running Windows 7, VS 2012, .NET 4 / .NET 4.5