It is rather disappointing to find the following error when using NANT with typemock 7.4.
I copied the settings of nant from the help file. However, it does not work. :?
Will some experts help me on that?
Thanks.
[exec] NUnit version 2.5.10.11092
[exec] Copyright (C) 2002-2009 Charlie Poole.
[exec] Copyright (C) 2002-2004 James W. Newkirk, Michael C. Two, Alexei A. Vorontsov.
[exec] Copyright (C) 2000-2002 Philip Craig.
[exec] All Rights Reserved.
[exec] Runtime Environment -
[exec] OS Version: Microsoft Windows NT 6.1.7600.0
[exec] CLR Version: 4.0.30319.17929 ( Net 4.0 )
[exec] ProcessModel: Default DomainUsage: Single
[exec] Execution Runtime: Default
[exec] Unhandled Exception:
[exec] System.TypeInitializationException: The type initializer for 'TypeMock.MockManager' threw an exception. ---> System.IO.FileNotFoundException: Could not load file or assembly 'Configuration, Version=7.4.0.0, Culture=neutral, PublicKeyToken=3dae460033b8d8e2' or one of its dependencies. The system cannot find the file specified.
[exec] at TypeMock.MockManager.b()
[exec] at TypeMock.MockManager..cctor()
[exec] --- End of inner exception stack trace ---
[exec] at TypeMock.MockManager.isMocked(Object context, String typeName, String methodName, Object methodParameters, Boolean isDecorated, Boolean isIntercepted)
[exec] at Typemock.Interceptors.Profiler.InternalMockManager.isMocked(Object that, String typeName, String methodName, Object methodParameters, Boolean isInjected, Boolean isIntercepted)
[exec] at NUnit.Core.ProxyTestRunner.Dispose()
[exec] at System.IDisposable.Dispose()
[exec] at NUnit.Core.ProxyTestRunner.Dispose()
[exec] at NUnit.Util.TestDomain.Dispose()
[exec] at NUnit.ConsoleRunner.ConsoleUi.Execute(ConsoleOptions options)
[exec] at NUnit.ConsoleRunner.Runner.Main(String[] args)
[exec] d:BuildDV2012.build(484,6): External Program Failed: J:
unit-console.exe (return code was -100)