I have 3 TFS Builds (2 Dev and 1 Cert).
I would like to modularize the builds so I don't have to edit 3 files each time I make a change to the common items.
The problem I have is that Only the items in the build folder (under TeamBuildTypes) are automatically retrieved by the Team Build. I can put in code in my build process to get other files, but by then it is too late.
Here is the scenario that I have. I make a "Common" location for common tasks. I then went and made changes to that file. Because the file does not down load until my build process tells it to down load it is retrieved too late (the import has already happened and the MSBuild process has constructed the build targets in memory).
I thought about adding it to the build's workspace, but then it will be retrieved in the Get Sources target (which is also too late).
I can't see a solution that will not have me duplicating the file or not using source control...
Any Ideas?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…