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
Welcome to Typemock Answers. Here you can ask and receive answers from other community members. And if you liked or disliked an answer or thread: react with an up- or downvote Enjoy!

upgraded Typemock to v8.6.0.18 on TFS build server and getting error

+1 vote
I have Typemock installed on the server and getting below error - 
The "TypeMockStart" task could not be instantiated from "C:Program Files (x86)TypemockIsolator8.6BuildScriptsMSBuildTypeMock.MSBuild.dll". 
System.IO.FileNotFoundException: Could not load file or assembly 'TypeMock.CLI.Common, Version=, Culture=neutral, PublicKeyToken=3dae460033b8d8e2' or one of its dependencies. The system cannot find the file specified.
File name: 'TypeMock.CLI.Common, Version=, Culture=neutral, PublicKeyToken=3dae460033b8d8e2'
   at TypeMock.MSBuild.TypeMockStart..ctor()
This is what I have in TFSBuild.proj file :
 <Import Project="C:Program Files (x86)TypemockIsolator8.6BuildScriptsMSBuildTypeMock.MSBuild.Tasks" />
<Target Name="BeforeTestConfiguration">
    <TypeMockStart />
  <Target Name="AfterTest">
    <!--Quit TypeMock-->


asked Nov 1, 2017 by DotNetUser (1,120 points)

As I understand you aren't using the extension from the marketplace. It's much easier to integrate with.

Which TFS are using? (You can check the Docs for instructions on your TFS)

1 Answer

0 votes
Seems like a referencing issue.

Can you assure that all the references were updated to the latest version you have?
answered Jun 17 by Raphy (3,890 points)