是否可以在 TFS 构建定义文件中显示自定义数据类型的子元素?例如,在“代理设置”中,菜单扩展到其子元素,就像我想显示我自己的数据类型的元素一样。
<x:Members>
<x:Property Name="BuildNumberFormat" Type="InArgument(x:String)" />
<x:Property Name="SolutionSpecificBuildOutputs" Type="InArgument(x:Boolean)" />
<x:Property Name="CleanWorkspace" Type="InArgument(mtbwa:CleanWorkspaceOption)" />
<x:Property Name="SourceAndSymbolServerSettings" Type="InArgument(mtbwa:SourceAndSymbolServerSettings)" />
**<x:Property Name="AgentSettings" Type="InArgument(mtbwa:AgentSettings)" />**
<x:Property Name="AssociateChangesetsAndWorkItems" Type="InArgument(x:Boolean)" />
<x:Property Name="CreateWorkItem" Type="InArgument(x:Boolean)" />
<x:Property Name="CreateLabel" Type="InArgument(x:Boolean)" />
<x:Property Name="GetVersion" Type="InArgument(x:String)" />
<x:Property Name="PrivateDropLocation" Type="InArgument(x:String)" />
<x:Property Name="Verbosity" Type="InArgument(mtbw:BuildVerbosity)" />
<x:Property Name="Metadata" Type="mtbw:ProcessParameterMetadataCollection" />
<x:Property Name="SupportedReasons" Type="mtbc:BuildReason" />
<x:Property Name="BuildProcessVersion" Type="x:String" />
**<x:Property Name="MapBuildConfig" Type="InArgument(ma:MyBuildConfig)" />**
在上面的代码中,“AgentSettings”扩展到它的元素:名称过滤器、标签过滤器等等。但是我的自定义类型“MyBuildConfig 没有扩展到它的元素......
有什么帮助吗?
谢谢!