I'd like to be able to stop build for some build definitions programmatically. First I thought about creating some event handler (soap service or TFS plugin) to solve this issue. But unfortunatelly it seems like there isn't appropriate event in TFS (that would be raised when build is just started).
Is there the way to solve this issue?
Thank you!
Elena
Upd: The problem has been solved by call of cutom build task in the very first target in TFSBuild.proj