Create Build Definition from Template with TFS 2015 .NET Client Libraries
问题 I'm using the .NET Client Libraries for VSTS/TFS 2015 to programmatically create a build definition based off of a template that I've grabbed in another team project. I can get a build definition template (2.0) by using: BuildDefinitionTemplate builddeftemplate = buildHttpClient.GetTemplateAsync(teamProject, templateId).Result; And I can create a build definition by using: BuildDefinition builddef = new BuildDefinition(); builddef.Project = newTeamProject; But there doesn't look like a way to