自定义默认的TFS Git构建模板

Nae*_*raz 5 git team-build tfs2013

我已将默认的TFS Git构建模板(GitTemplate.12.xaml)保存到新的类库项目中,修复了所有缺少的引用,当我编译时,我得到了这个:

C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Xaml.targets(347,5): 
error XC1043: Extension 'Microsoft.Activities.Build.Validation.ValidationBuildExtension' 
threw an exception of type 'System.Xaml.XamlObjectWriterException' 
  'The invocation of the constructor on type 
  'Microsoft.TeamFoundation.Build.Activities.Git.GitPull' that matches 
  the specified binding constraints threw an exception.'.`
Run Code Online (Sandbox Code Playgroud)

什么可能是错的任何帮助?

jes*_*ing 8

你错过了你一直关注的教程的一步.添加之后,GitTemplate.12.xaml您应将BuildAction设置为None:

3.在添加的文件上,将构建操作属性设置为none

这将允许您编辑构建工作流而无需编译它.工作流程不会编译,这并不意味着它不会运行.不要问我为什么会这样,我问了Visual Studio产品团队一段时间后他们确认构建工作流程不应该编译.