chevron-thin-right chevron-thin-left brand cancel-circle search youtube-icon google-plus-icon linkedin-icon facebook-icon twitter-icon toolbox download check linkedin phone twitter-old google-plus facebook profile-male chat calendar profile-male
0 votes
Trying to get typemock to work in workflow and I'm getting the following error
Could not load file or assembly 'TypeMock.CLI.Common, Version=7.0.5.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified.


I've integrated the typemock activities in a custom workflow, added the typemock.2010.dll to the controllers to send out the agents.
Code snippet from my workflow:
.....
       <If Condition="[Not DisableTests]" DisplayName="If Not DisableTests" sap:VirtualizedContainerService.HintSize="464,206" mtbwt:BuildTrackingParticipant.Importance="Low">
                            <If.Then>
                              <Sequence DisplayName="Run Tests" sap:VirtualizedContainerService.HintSize="222,361" mtbwt:BuildTrackingParticipant.Importance="Low">
                                <sap:WorkflowViewStateService.ViewState>
                                  <scg:Dictionary x:TypeArguments="x:String, x:Object">
                                    <x:Boolean x:Key="IsExpanded">True</x:Boolean>
                                  </scg:Dictionary>
                                </sap:WorkflowViewStateService.ViewState>
                                <tt:TypeMockStart EvaluationFolder="{x:Null}" Link="{x:Null}" LogLevel="{x:Null}" LogPath="{x:Null}" ProfilerLaunchedFirst="{x:Null}" Target="{x:Null}" Version="{x:Null}" sap:VirtualizedContainerService.HintSize="200,22" />
.....                     


and
                                        </TryCatch>
                                      </ActivityAction>
                                    </ForEach>
                                  </If.Then>
                                </If>
                                <tt:TypeMockStop sap:VirtualizedContainerService.HintSize="200,22" />
....

I'm not calling register and undeploy on the TypeMockStop activity, since TypeMock Server 7.0.5 is installed on the build server.

What am I missing?
asked by jnus (3.9k points)

12 Answers

0 votes
Yep and start and stopped are invoked in the workflow build definition. However I'm still getting an error regarding typemock.cli.common.dk
answered by jnus (3.9k points)
0 votes
Hi,

Was this subset of assemblies checked into the source control?
  • TypeMock.CLI.Common.dll
  • TypeMock.Integration.dll
  • Configuration.dll
  • Typemock.dll

These assemblies are required for Start & Stop, the full list is required for full auto-deploy.
answered by Elisha (12k points)
...