I have TypeMocks v3.7.1 Enterprise installed/enabled on my local machine and on the build server.
The build server has a full install of VS 2005 installed on it with the TypeMock.NET add-in enabled (under the build user account).
If I (and 2 other devs) run the build/tests on my local machine, it works perfectly, but when the automated build runs, the unit tests throw this exception.
TypeMock.TypeMockException: TypeMock.TypeMockException:
*** TypeMock.NET is not enabled, to enable do one of the following:
1. run 'mocking_on.bat' before running the tests
2. run tests via TMockRunner.exe
3. use TypeMockStart tasks for MSBuild or NAnt
4. set Tools->Enable TypeMock.NET from within Visual Studio
For more information consult the documentation (see Running topic).
It has been working for a couple months, but then about a week ago it started to fail and I've been trying to get to run since.
The other weird issue, and I don't know if it is related, is that the Add-in links don't work after the unit tests are run locally. I can open them from the start menu, but if I click on the menu option under the Tools menu, the TypeMock dialog doesn't appear. I really don't care about this issue, but thought it might be part of the issue with the failing builds.
Any help would be appreciated.