Similar Topics...
 |
TFS Download Folder from Source Control Using the TFS Build Templates Designer (activity designer), it is possible to download extra files from source control to your local server or network share. In the designer, drag and drop an activity 'DownloadFiles' from the toolbox to the place you would like it. Click on it and go to Properties In "DeletionId" put: 0 In "DisplayName" put: Any name for your task In "LocalPath" put the full path where the files should be copied to: "\\server\Web\MyFolder\" THE LAST SLASH IS REQUIRED OR IT WILL NOT WORK PROPERLY In "Recursion" put: Microsoft.TeamFoundation.VersionControl.Client.RecursionType.Full (or whatever value) In "ServerPath" put the path in TFS where the files are found: "$/TFSProjectName/SubFolder" DO NOT PUT AN ENDING SLASH In "Version" put: Microsoft.TeamFoundation.VersionControl.Client.VersionSpec.Latest.DisplayString (or whatever value) This will recursively download the files from TFS.
Created By: amos 7/16/2013 3:53:25 PM
|
|
|
|
|
|