TFS 2017 - how build/deliver only changed files?

后端 未结 2 561
南方客
南方客 2020-12-11 10:13

I\'m using TFS 2017, and regarding to title I found a term: Incremental build - but, I can not find out where to set it. I tried to add Incremental parameter in \' build par

2条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2020-12-11 11:06

    If you want to have an incremental build. When you add a Visual Studio Build / MSBuild task to build the project, just uncheck the Clean option. Thus it will sync the source and only get the changed files from the second time to build. See Build task Arguments for details.

    Clean Option : Set to False if you want to make this an incremental build. This setting might reduce your build time, especially if your codebase is large. This option has no practical effect unless you also set Clean repository to False.

    Set to True if you want to rebuild all the code in the code projects. This is equivalent to the MSBuild /target:clean argument.

    Assuming you want to deliver the only changed files to a specific location, you can add a Copy Files step to copy the changed files to the location.

提交回复
热议问题