Skip to content

Latest commit

 

History

History
35 lines (29 loc) · 1.67 KB

File metadata and controls

35 lines (29 loc) · 1.67 KB
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
VB
CSharp
C++
author ghogen
ms.author ghogen

VCToolTask base class

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.

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