I'm trying to get my tests integrated our build process and am running into some problems. On my local machine through both vsnet, and the Nant buildfile the tests pass(without having to use typemockstart/end).
On the build server it's a different story. At first of the 401 tests, 291 failed. Mostly with the message indicating that TypeMock wasn't enabled. So I went ahead and added "typemockstart" and "typemockstop" tasks in the proper locations, with a target of 2.0. This brought the fail count down to 156, a lot of them are TypeInitializationExceptions, with some verification failures and such, but it all seems to point to something wrong with the way TypeMock is working.
So TypeMock is sort of working, and I don't think it's something wrong specifically with TypeMock, just that something is different between the two environments. I have no idea what it could be though. TypeMock is being run through NCover, but that is also the same version as my local machine. I don't know if it makes a difference, but I should also note that even though my code is .net v3.5 if I try to set the target to 3.5 NCover just throws an error that doesn't give any information.
Any thoughts?
Thanks,
Steve