TFS API BranchObjectCreated Event does not fire
问题 I have some code to automate the creation of build definitions in TFS. Now I'd like to have this code invoked whenever a branch is created. Looking at the API, I see that there is a BranchObjectCreatedEvent in Microsoft.TeamFoundation.VersionControl.Client.VersionControlServer . So I've added some code to a console app to handle the event. private static void MonitorBranchCreated() { try { TfsTeamProjectCollection tfs = InitialiseTfs(); var vcs = tfs.GetService<VersionControlServer>(); var