ToolTask.GetResponseFileSwitch(String) Method

Definition

Returns the command line switch used by the tool executable to specify the response file. Will only be called if the task returned a non empty string from GetResponseFileCommands Called after ValidateParameters, SkipTaskExecution and GetResponseFileCommands

protected:
 virtual System::String ^ GetResponseFileSwitch(System::String ^ responseFilePath);
protected virtual string GetResponseFileSwitch (string responseFilePath);
abstract member GetResponseFileSwitch : string -> string
override this.GetResponseFileSwitch : string -> string
Protected Overridable Function GetResponseFileSwitch (responseFilePath As String) As String

Parameters

responseFilePath
String

full path to the temporarily created response file

Returns

String

Remarks

This method is only called if GenerateResponseFileCommands returns a non-empty string value.

This method is called after ValidateParameters, SkipTaskExecution and GenerateResponseFileCommands.

Applies to