I am using the community edition of TypeMock.NET 4.0.0 with TestDriven.NET 2.1. I am also using a patched MockWeaver.dll you gave me that fixed a problem when I could not run tests consecutively in VS.
Typemock has been working fine for me, but now when I try to run tests within Visual Studio I get the following:
failed: 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)
at TypeMock.MockManager.Init(Boolean collectAllCalls)
C:\Program Files\TypeMock\TypeMock.NET\Examples\CSHARP\Tests\ReflectiveMocks\Test1_Basic.cs(34,0): at Examples.Tests.ReflectiveMocks.Test1_Basic.Start()
My Tools menu does not show TypeMock at all. I can successfully run tests from a Command Prompt. How can I get TypeMock to appear in my tools menu so that I can enable it ?