I don't know much about TFS except that I use it. However, when I build using Pending Changes, our build team has somehow managed to tell TFS that based on what part of the code is being edited, which build definitions are available for you to select.
How do they do this? I can't search for it effectively. And to what granularity can this be extended? There is a single file in a seemingly unrelated section of code that has more implications than expected, so I'd like to restrict check-ins to the file to a wider build definition.