| title | VCToolTask Class | |||
|---|---|---|---|---|
| description | Learn about several parameters that the VCToolTask base class adds to the tasks that inherit from it. | |||
| ms.date | 03/10/2019 | |||
| ms.topic | reference | |||
| dev_langs |
|
|||
| author | ghogen | |||
| ms.author | ghogen |
Many tasks ultimately inherit from the xref:Microsoft.Build.Utilities.Task class and ToolTask class. This class adds several parameters to the tasks that derive from them. These parameters are listed in this document.
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]. |