Setting Up the Integration with MS Team Foundation Server
To integrate with MS Team Foundation Server 2012:
1. In MS Visual Studio, in Source Control Explorer, browse to the BuildProcessTemplates folder.
2. From the AutoDeploy folder in the Typemock installation folder, copy DefaultTemplate.11.1.WithTypemock.xaml into the BuildProcessTemplates folder.
3. In the BuildProcessTemplates folder, create a new folder called TypemockActivities.
4. From the AutoDeploy folder, copy the following files to the TypemockActivities folder:
• Configuration.dll
• TypeMock.CLI.Common.dll
• TypeMock.Integration.dll
• Typemock.Interceptors.dll
• TypeMock.TFS2012.dll
MS Team Foundation Server might prompt you to map your
workspace. Map your server folder to your local project
directory.
5. Check-in the changes.
6. In Team Explorer, click Builds.
7. Under Actions, select Manage Build Controllers.
The Manage Build Controllers window is displayed.
8. Click Properties.
The Build Controller Properties window is displayed.
9. Next to the Version control path to custom assemblies field, click ....
The Browse window is displayed.
10. Navigate to the TypemockActivities folder in your repository.
11. Click OK.
12. From the Version control path to custom assemblies field, copy the path.
13. In Team Explorer, right click your build definition.
14. Select Edit Build Definition.
The Build Definition window is displayed.
15. Select Process.
16. In the Build Process Template area, click Show Details.
17. In the Build Process File field, click New.
The New Build Process Template window is displayed.
18. Select the Select an existing XAML file option.
19. Click Browse.
The Browse window is displayed.
20. Select DefaultTemplate.11.1.WithTypemock.xaml.
21. Click OK.