mohamedradwan.com - Nothing can beat experience
Post
Cancel

TFS Build Editors and Build Process Metadata

When we perform customization for the 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 to 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

FunctionClass, Assembly
Server folder browserMicrosoft.TeamFoundation.Build.Controls.ServerFolderBrowserEditor, Microsoft.TeamFoundation.Build.Controls
Server file browserMicrosoft.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

FunctionClass, Assembly
Build Agent selectorMicrosoft.TeamFoundation.Build.Controls.BuildAgentSelectionEditor, Microsoft.TeamFoundation.Build.Controls
Build Number Format EditorMicrosoft.TeamFoundation.Build.Controls.BuildNumberFormatEditor, Microsoft.TeamFoundation.Build.Controls
Project selectorMicrosoft.TeamFoundation.Build.Controls.BuildProjectListEditor, Microsoft.TeamFoundation.Build.Controls
Build settingsMicrosoft.TeamFoundation.Build.Controls.BuildSettingsEditor, Microsoft.TeamFoundation.Build.Controls
Platform configurationMicrosoft.TeamFoundation.Build.Controls.PlatformConfigurationListEditor, Microsoft.TeamFoundation.Build.Controls
Build Agent TagMicrosoft.TeamFoundation.Build.Controls.TagsEditor, Microsoft.TeamFoundation.Build.Controls
Test specificationsMicrosoft.TeamFoundation.Build.Controls.TestSpecEditor, Microsoft.TeamFoundation.Build.Controls
Test specification listMicrosoft.TeamFoundation.Build.Controls.TestSpecListEditor, Microsoft.TeamFoundation.Build.Controls
Work-item typeMicrosoft.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 custom 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:

Trending Tags