Edit

Share via


VCToolTask base class

Many tasks ultimately inherit from the Task class and ToolTask class. This class adds several parameters to the tasks that derive from them. These parameters are listed in this document.

Parameters

The following table describes the parameters of the VCToolTask base class.

Parameter Description
ActiveToolSwitchesValues Optional Dictionary<string, ToolSwitch> parameter.
AdditionalOptions Optional string parameter.
EffectiveWorkingDirectory Optional string parameter.
EnableErrorListRegex Optional bool parameter.

Default is true.
ErrorListRegex Optional ITaskItem[] parameter.
ErrorListListExclusion Optional ITaskItem[] parameter.
GenerateCommandLine Optional string parameter.

Uses values CommandLineFormat format [default = CommandLineFormat.ForBuildLog] and EscapeFormat escapeFormat [default = EscapeFormat.Default].
GenerateCommandLineExceptSwitches Optional string parameter.

Uses values string[] switchesToRemove, CommandLineFormat format [default = CommandLineFormat.ForBuildLog], and EscapeFormat escapeFormat [default = EscapeFormat.Default].

See also

Task reference
Tasks