Does TFS download all working folders in build def

2019-09-17 06:21发布

问题:

In my build definition under "Working folders", I have $/MyProject/Main/Source mapped to $(SourceDir).

Does that make it download all files in $/MyProject/Main/Source to $(SourceDir)? Or does it only download what is included within the solution that I'm building if it exists within $/MyProject/Main/Source?

回答1:

It will download all files under that folder.

If you want to limit what it downloads you can add other paths to the workspace mapping and mark them as "cloak" which will indicate to TFS not to download the cloaked folders.