TFS Build automation

后端 未结 2 654
Happy的楠姐
Happy的楠姐 2021-01-28 13:28

I have TFS2010 building a project solution, which is a copier. The build is succesful but does nothing, ie. doesn\'t copy.

How would I get the triggered build to copy th

2条回答
  •  梦毁少年i
    2021-01-28 14:18

    I can't edit our build definition templates because they are company wide.

    So I change the project file with extra post build steps.

    Just add a step in the post buildstep of the project that contains the copier. You can call your output executable.

    I do it for distributing my TFS builds to different release folders

    Add this step:

    "$(TargetPath)" to your project file.

提交回复
热议问题