Quantcast
Channel: Scrum Bug
Viewing all articles
Browse latest Browse all 217

Which UIEditors are available for Team Build by default

$
0
0
Types inheriting from UITypeEditor
Recently I was asked to extend a Build Template for Team Build. There were a few fancy things which were required for this template, including picking files and folders in Source Control, selecting Work Items etc. I looked around the documentation on msdn.microsoft.com, but the information on the available editors is scarce and incomplete (or I didn't look good enough).

I decided to fire up NDepend to find the types I was interested in and from there I used good old .NET Reflector to look for the return type of each of them. Using this I found a few gems. All nicely marked Internal and thus hidden from view. I'm guessing this means these Editors come without support and may change without warning, but if that doesn't deter you, then read on for the complete list


First, add your Argument to the Build workflow like this:

Then open the Metadata section:

Finally, set the Editor. Use the "Name, Assembly" format, you don't need to provide a strong name key or version. That should ensure that when you need to upgrade, the Build Agent will still be able to load your Editor. For example, to get a BuildAgentSelectionEditor set the Editor value to: "Microsoft.TeamFoundation.Build.Controls.BuildAgentSelectionEditor,  Microsoft.TeamFoundation.Build.Controls".

I'm still hoping to find an editor that allows me to select a Work Item Query, a specific Work Item, and a few others, but it looks like these use a different form of integration into Visual Studio. When I've found them I'll update this post.

Ohh and don't forget, you can use any of the existing UITypeEditors which come with Windows Forms by default!

internalclassBuildAgentSelectionEditor : UITypeEditor
Name:Microsoft.TeamFoundation.Build.Controls.BuildAgentSelectionEditor
Assembly:Microsoft.TeamFoundation.Build.Controls
Returns string

internalsealedclassBuildNumberFormatEditor : UITypeEditor
Name:Microsoft.TeamFoundation.Build.Controls.BuildNumberFormatEditor
Assembly:Microsoft.TeamFoundation.Build.Controls
Returns string

internalclassBuildProjectListEditor : UITypeEditor
Name:Microsoft.TeamFoundation.Build.Controls.BuildProjectListEditor
Assembly:Microsoft.TeamFoundation.Build.Controls, Version=10.0.0.0
Returns StringList

internalclassBuildSettingsEditor : UITypeEditor
Name:Microsoft.TeamFoundation.Build.Controls.BuildSettingsEditor
Assembly:Microsoft.TeamFoundation.Build.Controls
Returns BuildSettings

internalclassEnumPropertyEditor : UITypeEditor
Name:Microsoft.TeamFoundation.Build.Controls.EnumPropertyEditor
Assembly:Microsoft.TeamFoundation.Build.Controls
Returns EnumValue

internalclassPlatformConfigurationListEditor : UITypeEditor
Name:Microsoft.TeamFoundation.Build.Controls.PlatformConfigurationListEditor
Assembly:Microsoft.TeamFoundation.Build.Controls
Returns PlatformConfigurationList

internalclassServerFileBrowserEditor : UITypeEditor
Name:Microsoft.TeamFoundation.Build.Controls.ServerFileBrowserEditor
Assembly:Microsoft.TeamFoundation.Build.Controls
Returns String

internalclassServerFolderBrowserEditor : UITypeEditor
Name:Microsoft.TeamFoundation.Build.Controls.ServerFolderBrowserEditor
Assembly:Microsoft.TeamFoundation.Build.Controls
This editor shows a folder browser for picking a folder in SourceControl.
Returns string

internalclassTagsEditor : UITypeEditor
Name:Microsoft.TeamFoundation.Build.Controls.TagsEditor
Assembly:Microsoft.TeamFoundation.Build.Controls
Returns List

internalclassTestMetadataFileBrowserEditor : ServerFileBrowserEditor
Name:Microsoft.TeamFoundation.Build.Controls.TestMetadataFileBrowserEditor
Assembly:Microsoft.TeamFoundation.Build.Controls
Returns string

internalclassTestSettingsFileBrowserEditor : ServerFileBrowserEditor
Name:Microsoft.TeamFoundation.Build.Controls.TestSettingsFileBrowserEditor
Assembly:Microsoft.TeamFoundation.Build.Controls
Return string

internalclassTestSpecEditor : UITypeEditor
Name:Microsoft.TeamFoundation.Build.Controls.TestSpecEditor
Assembly:Microsoft.TeamFoundation.Build.Controls
Returns TestSpec

internalclassTestSpecListEditor : UITypeEditor
Name:Microsoft.TeamFoundation.Build.Controls.TestSpecListEditor
Assembly:Microsoft.TeamFoundation.Build.Controls
Returns TestSpecList

internalclassWorkItemTypeSelectionEditor : UITypeEditor
Name:Microsoft.TeamFoundation.Build.Controls.WorkItemTypeSelectionEditor
Assembly:Microsoft.TeamFoundation.Build.Controls
Returns string



Viewing all articles
Browse latest Browse all 217

Latest Images

Trending Articles



Latest Images