简体   繁体   English

TFS DefaultTemplate.xaml中缺少ProcessParameterMetadata:例如,“必需”类别中的例如“要构建的项目”在哪里

[英]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. 这应该通过其中包含的ProcessParameterMetadataCollectionProcessParameterMetadata发生。 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? 我不知道,有人知道吗?

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. 打开构建XAML文件时,在底部附近有可以单击的VariablesArgumentsImports链接。 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.

相关问题 Gradle构建资源的最佳目录(例如许可证标题模板) - Best directory for Gradle build resources (e.g. license header template) Gradle构建比Eclipse ADT更严格(例如,找到项目_多次) - Gradle build is stricter that Eclipse ADT (e.g. Found item _ more than one time) 在“ AssociateChanges”步骤的TFS Build XAML模板获取所有工作项,因为乞求创建了源代码分支 - TFS Build XAML Template at “AssociateChanges” step get all the Work Items since begging of the source code branch created 在使用Android项目在IntelliJ中构建之前运行例如calc.exe - Run e.g. calc.exe before build in IntelliJ with Android projects 处理并行工作人员(例如,构建系统)生成的日志文件的工具 - Tool to work with log file produced by parallel workers (e.g. by build system) bitbucket 管道构建实例的默认实例规范是什么,例如 CPU、Ram 等,我们可以配置它吗? - What is the default instance spec for bitbucket pipeline build instances, e.g. CPU, Ram etc, can we configure it? 如何将静态 CSS 添加到 Dojo 7 应用程序,例如 FontAwesome? - How to add static CSS to Dojo 7 application e.g. FontAwesome? 在蚂蚁脚本中模块化类路径(例如通过refid) - Modularizing classpaths in ant scripts (e.g. via refid) 将自定义XAML构建工作流迁移到TFS 2017扩展 - Migrate custom XAML build workflow to TFS 2017 extensions Visual Studio Online-具有XAML生成定义2的错误TFS 22501 - Visual Studio Online - Error TFS 22501 with XAML Build Definition 2
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM