简体   繁体   中英

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

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?

TFS DefaultTemplate.xaml中缺少构建过程参数

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: 在此处输入图片说明

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM