[英]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. 我试图弄清楚默认情况下为TFS中的构建提供的Windows Workflow Foundation(WWF)模板如何在构建定义中指定构建过程参数。
This should happen via the ProcessParameterMetadataCollection
and the ProcessParameterMetadata
contained therein. 这应该通过其中包含的ProcessParameterMetadataCollection
和ProcessParameterMetadata
发生。 However nowhere in the DefaultTemplate.xaml are they specified. 但是,在DefaultTemplate.xaml中未指定任何位置。 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. 我以为可能是在附加的工作流程中指定了它们,可惜我对WWF的了解不是很好,我找不到任何附加的工作流程。 Then I thought perhaps they might be specified in code as part of the build in activities. 然后,我认为也许可以在代码中将它们指定为构建活动的一部分。 I have no idea, does anybody know? 我不知道,有人知道吗?
When you open up a build XAML file, near the bottom there are Variables , Arguments , and Imports links that you can click. 打开构建XAML文件时,在底部附近有可以单击的Variables , Arguments和Imports链接。 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: 这是屏幕截图:
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.