【发布时间】:2014-01-12 17:27:35
【问题描述】:
我已将默认的 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.'.`
有什么可能出错的帮助吗?
【问题讨论】:
-
您不需要编译构建工作流程,它经常会失败。如果设计器中的工作流没有显示任何错误,我倾向于只在服务器上尝试。通常它会起作用。
-
按照这些说明 tfsbuildextensions.codeplex.com/… 尝试换出 MSBuild 任务并将其替换为对 VS2008 devenv 的调用
-
您是否将 build.xaml 文件的 BuildAction 设置为
None? -
设置为
XamlAppDef