I've saved the default TFS Git build template (GitTemplate.12.xaml
) to a new Class Library project, fixed all the missing references and when I compile I get this:
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.'.`
Any help as to what could be wrong?
You missed a step on the tutorial you've been following. After adding the GitTemplate.12.xaml
you should set the BuildAction to None:
3 . On the added file set the build action property to none
That will allow you to edit the build workflow without having to compile it. The workflow just won't compile, that doesn't mean it won't run. Don't ask me why that is, I asked the Visual Studio Product Team some time back and they confirmed that the build workflow isn't supposed to compile.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With