Step 1: Adding Typemock Task and Template to the Source Control

To add Team Foundation Server tasks and templates to the source control:

  1. In Visual Studio, in Source Control Explorer, under your project, create a new folder called CustomActivities, which will be used by your build controller.

    If you already have specific activities folder for the build controller (see version control path to custom assemblies in step 2) perform all the next actions made with CustomActivities folder with this specific folder.

  2. Copy the following files from <Typemock Installation Dir>\BuildScripts\TFS\TFS2015 to your CustomActivities folder:

    • TfvcTemplate 12 WithTypemockFor2015.xaml

    • TypeMock.TFS2015.dll

  3. Copy the following files from <Typemock Installation Dir>\BuildScripts\AutoDeploy to the CustomActivities folder:

    • Configuration.dll

    • TypeMock.CLI.Common.dll

    • TypeMock.Integration.dll

    Team Foundation Server might prompt you to map your workspace. Map your server folder to your local project directory.

  4. Check-in the changes.

Add Typemock reference assemblies to source control

Make sure you have only the latest version of xaml task in your CustomActivities folder.