Creating a build process template which does nothing but copy all files to another directory

后端 未结 3 1076
清歌不尽
清歌不尽 2021-01-23 22:16

I would like to create a Build Definition inside TFS 2012 Express which will simply copy all files within my project source tree to another folder on my drive. Just to underline

3条回答
  •  滥情空心
    2021-01-23 22:46

    Add a bat file to your source folder. within the batch file add an xcopy %1*.* TargetLocation. Add an invoke process activity to your workflow, somewhere near the end. call the bat file and pass it the SourcesDirectory.

提交回复
热议问题