Missing ProcessParameterMetadata in TFS DefaultTemplate.xaml: where is for e.g. Items to Build in the Required category

Deadly 提交于 2020-01-06 03:41:07

问题


I'm trying to figure out how the Windows Workflow Foundation (WWF) template provided by default for builds in TFS specifies the Build process parameters in a build definition.

This should happen via the ProcessParameterMetadataCollection and the ProcessParameterMetadata contained therein. However nowhere in the DefaultTemplate.xaml are they specified. There's no Required category or Items to Build item anywhere, and none of the others circled in red either. See picture below.

I thought maybe they were specified in an attached workflow, alas my knowledge of WWF isn't that good and I can't find any attached workflows. Then I thought perhaps they might be specified in code as part of the build in activities. I have no idea, does anybody know?


回答1:


When you open up a build XAML file, near the bottom there are Variables, Arguments, and Imports links that you can click. If you click the Arguments link, this is where these exist. If they don't show up right away, it means you are out of the correct activity scope. If you click different activities in the build, you'll see the arguments list change. Here's a screenshot:



来源:https://stackoverflow.com/questions/14880740/missing-processparametermetadata-in-tfs-defaulttemplate-xaml-where-is-for-e-g

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!