TFS Build Editors and Build Process Metadata

When we perform customization for build process, we may add some arguments that can be set by editing the build definition….. in some cases the string data type for an argument will be sufficient but in other cases it’s not….how about if we want to browse for a file on the source control or if we want set some settings, etc this is why it’s important to know that there are built in editors and we can develop our own editor as well.

File / Folder Browsing

Function Class, Assembly
Server folder browser Microsoft.TeamFoundation.Build.Controls.ServerFolderBrowserEditor, Microsoft.TeamFoundation.Build.Controls
Server file browser Microsoft.TeamFoundation.Build.Controls.ServerFileBrowserEditor, Microsoft.TeamFoundation.Build.Controls
Local folder browser* System.Windows.Forms.Design.FolderNameEditor, System.Design
Local file browser* System.Windows.Forms.Design.FileNameEditor, System.Design

TFS Build Related Editors

Function Class, Assembly
Build Agent selector Microsoft.TeamFoundation.Build.Controls.BuildAgentSelectionEditor, Microsoft.TeamFoundation.Build.Controls
Buld Number Format Editor Microsoft.TeamFoundation.Build.Controls.BuildNumberFormatEditor, Microsoft.TeamFoundation.Build.Controls
 Project selector Microsoft.TeamFoundation.Build.Controls.BuildProjectListEditor, Microsoft.TeamFoundation.Build.Controls
 Build settings Microsoft.TeamFoundation.Build.Controls.BuildSettingsEditor, Microsoft.TeamFoundation.Build.Controls
 Platform configuration Microsoft.TeamFoundation.Build.Controls.PlatformConfigurationListEditor, Microsoft.TeamFoundation.Build.Controls
 Build Agent Tag Microsoft.TeamFoundation.Build.Controls.TagsEditor, Microsoft.TeamFoundation.Build.Controls
 Test specifications Microsoft.TeamFoundation.Build.Controls.TestSpecEditor, Microsoft.TeamFoundation.Build.Controls
  Test specification list Microsoft.TeamFoundation.Build.Controls.TestSpecListEditor, Microsoft.TeamFoundation.Build.Controls
 Work-item type Microsoft.TeamFoundation.Build.Controls.WorkItemTypeSelectionEditor, Microsoft.TeamFoundation.Build.Controls

 You can create a custom Editor click here and here another one click here

The steps to create a custome one, click here


Other Editors

Microsoft.TeamFoundation.Build.Controls.dll:
—–
Microsoft.TeamFoundation.Build.Controls.EnumPropertyEditor
Microsoft.TeamFoundation.Build.Controls.StringListEditor

System.Design.dll:
—–
System.ComponentModel.Design.CollectionEditor
System.ComponentModel.Design. BinaryEditor
System.ComponentModel.Design.DateTimeEditor
System.ComponentModel.Design.MultilineStringEditor
System.ComponentModel.Design.ObjectSelectorEditor
System.Windows.Forms.Design.FileNameEditor (+)
System.Windows.Forms.Design.FolderNameEditor (+)
System.Windows.Forms.Design.FormatStringEditor
System.Windows.Forms.Design.ImageIndexEditor (??)
System.Windows.Forms.Design.LinkAreaEditor
System.Windows.Forms.Design.MaskedTextBoxTextEditor
System.Windows.Forms.Design.MaskPropertyEditor
System.Windows.Forms.Design.ShortcutKeysEditor
System.Web.UI.Design.ConnectionStringEditor
System.Web.UI.Design.UrlEditor
System.Web.UI.Design.XmlFileEditor
System.Web.UI.Design.RegexTypeEditor
System.Web.UI.Design.SqlDataSourceQueryEditor

System.Drawing.Design.dll:
—–
System.Drawing.Design.ImageEditor
System.Drawing.Design.ColorEditor
System.Drawing.Design.ContentAlignmentEditor
System.Drawing.Design.CursorEditor
System.Drawing.Design.FontEditor
System.Drawing.Design.FontNameEditor
System.Drawing.Design.IconEditor

System.Workflow.Activities.dll:
—–
System.Workflow.Activities.WebServicePickerEditor
System.Workflow.Activities.StateDropDownEditor
System.Workflow.Activities.ImageBrowserEditor
System.Workflow.Activities.LogicalExpressionEditor

For good info about other editors and links, see the following link:
Reusable Editors – TFS build arguments

Good links:

Share This: