Update TFS2012 - Build sometimes with error TF215097 "Dynamic activity"

We use several patched assembly process templates designed for TFS2010 for all of our assemblies, but these BPTs do not use any custom actions. We recently upgraded to TFS2012, and during the upgrade, our BPTs were converted according to these instructions .

This works fine, most of the time, but occasionally, it coughs:

TF215097: an error occurred during initialization of the assembly to determine the assembly \ Project1 (Dev10) \ Simple - Manual: the values ​​given for the root activity arguments did not meet the requirements for root activity: "DynamicActivity": the value of the input parameter of the type "Microsoft.TeamFoundation.Build is expected .Workflow.Activities.BuildSettings "for the parameter named" BuildSettings ".

There is nothing in any magazine, there is nothing visible that I can somehow understand as a reason. The only fix is ​​to restart the build controller, after which the error will disappear within a few hours. When I did not register and re-register the controller, the problem disappeared for about one day.

The important thing is that these build process templates work on TFS2012, but then they suddenly stop working for no reason that I can determine.

+4
source share
1 answer

As it turns out, some builds still use legacy 2010 style build process templates. At any time, when someone queued up one of these teams, the entire assembly controller began to worry. Getting rid of these BPTs, we solved the problem.

+5
source

All Articles