DeploymentMappings.xml location under TFS 2010

Aug 13, 2010 at 5:18 PM

For a new team project created in TFS 2010 I noticed that it does not create a TeamBuildTypes folder, as it did under TFS 2008, but creates BuildProcessTemplates folder with the XAML based build workflows. For the TFS Deployer configuration should I map the BuildProcessTemplates folder to a physical location; add the Deployment folder as a subdirectory; and put the DeploymentMappings.xml file there?

Aug 14, 2010 at 1:26 AM

The DeploymentMappings.xml file should be placed in a Deployment subfolder of whichever folder your build definition's build process file is stored in. If you use the out-of-the-box DefaultTemplate.xaml for your build definition, then the path to your mappings file will be "$/<TeamProject>/BuildProcessTemplates/Deployment/DeploymentMappings.xml". 

If you create a custom build process file and store it elsewhere (eg "$/<TeamProject>/Trunk/Build/CustomTemplate.xaml") then the mappings file for any build definitions based on that template would be located at "$/<TeamProject>/Trunk/Build/Deployment/DeploymentMappings.xml".