共用方式為


VCToolTask 基底類別

許多工作最終繼承自 Task 類別和 ToolTask 類別。 此類別會將數個參數新增至從中衍生它們的工作。 本文件會列出這些參數。

參數

下表說明 VCToolTask 基底類別的參數。

參數 描述
ActiveToolSwitchesValues 選擇性的 Dictionary<string, ToolSwitch> 參數。
AdditionalOptions 選擇性的 string 參數。
EffectiveWorkingDirectory 選擇性的 string 參數。
EnableErrorListRegex 選擇性的 bool 參數。

預設值為 true
ErrorListRegex 選擇性的 ITaskItem[] 參數。
ErrorListListExclusion 選擇性的 ITaskItem[] 參數。
GenerateCommandLine 選擇性的 string 參數。

使用 CommandLineFormat 格式值 [default = CommandLineFormat.ForBuildLog] 和 EscapeFormat escapeFormat [default = EscapeFormat.Default]。
GenerateCommandLineExceptSwitches 選擇性的 string 參數。

使用值 string[] 參數ToRemoveCommandLineFormat 格式 [default = CommandLineFormat.ForBuildLog],以及 EscapeFormat escapeFormat [default = EscapeFormat.Default]。

另請參閱

工作參考
工作