Team Build 2010:公开枚举参数? [英] Team Build 2010: Expose enum parameter ?
问题描述
嘿所有,
我试图公开enum参数,所以每当我对新构建进行排队时,我都可以从参数选项卡中的组合框中选择值。
I tried to expose enum parameter so whenever I queue new build I could choose value from a combobox in the parameter tab.
我创建了自定义活动,其中还包含 public enum 类型。
I created custom activity that also contains public enum type.
我将此值添加到元数据对象,以便用户在排队时可以选择它。
I add this value to metadata object so users can choose it while queueing the build.
当我尝试根据此构建过程模板(.xaml)创建新的构建定义时,我收到此错误:
The thing is when I tried to create new build definition based on this build process template (.xaml) I get this error:
无法加载流程模板。由于以下错误,无法反序列化构建过程:类型InArgument(local:< ENUM_TYPE>)od属性< MY_VAR>无法解决
如何在团队构建2010中使用enum参数?
How can I use enum parameter in the team build 2010?
如果 enum不是这样的话,是否有另一种方法可以添加一个可供选择的值的组合框参数..?
If enum is not the way, is there another way to add a combobox parameter with values to choose from..?
谢谢,
Roy
推荐答案
您好,
有没有人可以提供帮助...... ?
Is there anyone that can Help...?
我只想在Build定义中创建一个带有下拉列表而不是字符串的变量...所以当用户排队这个版本时,它将不得不从组合中选择项目......
I just want to create a variable in the Build definition with a drop down list instead of string... so when a user will queue this build, it will have to choose item from the combo...
这篇关于Team Build 2010:公开枚举参数?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!