I want to use the same targets defined in an external file in multiple build definitions. This external target file should be stored on the source control. The bootstrap phase explained in TFSBuild.proj and Importing External Targets does not seem to allow downloading the same file for multiple build definition as the build file is always named TFSBuild.proj and consequently sits in a separate folder for each build definition.
The question was somewhat aked in a comment of the previouly mentionned thread but it seems motre appropriate to create a new thread.
Quoting that comment by David Keaveny:
Is it possible to get TFS to download from other folder paths during bootstrap? I have a Common.targets file that contains all the custom tasks that my TFSBuild.proj should be executing, but given that I several build definitions (one folder per definition), it sits in a separate folder at the same level as the build definitions. Without it, of course, the builds fail immediately. – David Keaveny Aug 17 '10 at 23:58