We are trying to setup out TFS 2013 environment for Typemock Autodeploy.
(We have 1 TFS project collection with several TFS Project, which use different versions of typemock.)
We followed the steps in this document from the TypeMock help:
http://docs.typemock.com/Isolator/##Ref.chm/Documentation/TFS2013Build.html
and then the 2nd section of
http://docs.typemock.com/Isolator/##Ref.chm/Documentation/TFS2012Integration.html
(Integrating Typemock Isolator per Team Project or Branch)
But... the build keeps failing, because of this error:
Exception Message: Exception has been thrown by the target of an invocation. (type TargetInvocationException)
Exception Stack Trace: at System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandleInternal& ctor, Boolean& bNeedSecurityCheck)
at System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark& stackMark)
at System.RuntimeType.CreateInstanceDefaultCtor(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark& stackMark)
at System.Activator.CreateInstance(Type type, Boolean nonPublic)
at System.RuntimeType.CreateInstanceImpl(BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes, StackCrawlMark& stackMark)
at System.Activator.CreateInstance(Type type, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes)
at System.Activator.CreateInstance(String assemblyString, String typeName, Boolean ignoreCase, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes, Evidence securityInfo, StackCrawlMark& stackMark)
at System.Activator.CreateInstance(String assemblyName, String typeName)
at System.AppDomain.CreateInstance(String assemblyName, String typeName)
at System.AppDomain.CreateInstanceAndUnwrap(String assemblyName, String typeName)
at System.AppDomain.CreateInstanceAndUnwrap(String assemblyName, String typeName)
at TypeMock.TFS2013.BuildTasksFactory.CreateAndExecuteRegister(Dictionary`2 registerValues)
at TypeMock.TFS2013.TypeMockRegister.ExecuteInternal(BuildTasksFactory tasksFactory)
at TypeMock.TFS2013.TypeMockCodeActivityBase.Execute(CodeActivityContext context)
at System.Activities.CodeActivity.InternalExecute(ActivityInstance instance, ActivityExecutor executor, BookmarkManager bookmarkManager)
at System.Activities.Runtime.ActivityExecutor.ExecuteActivityWorkItem.ExecuteBody(ActivityExecutor executor, BookmarkManager bookmarkManager, Location resultLocation)
Inner Exception Details:
Exception Message: Could not load file or assembly 'TypeMock, Version=7.5.1.0, Culture=neutral, PublicKeyToken=3dae460033b8d8e2' or one of its dependencies. The system cannot find the file specified. (type FileNotFoundException)
Exception Stack Trace: at TypeMock.CLI.Common.TypeMockRegisterInfo.Execute()
at TypeMock.CLI.Common.TypeMockRegisterInfo..ctor()
Ik doublechecked the articles i mentioned above, but all seems to be fine and i'm running out of ideas :(
Any suggestions?
Did anyone actually got TypeMock Autodeploy working in an TFS2013 build process -environment (using version 7.5.0.19)?