ToolTask.GetResponseFileSwitch Method
Returns the command line switch used by the executable file to specifiy a response (.rsp) file.
MSBuild is now included in Visual Studio instead of the .NET Framework. You can use MSBuild 12.0 side-by-side with versions previously deployed with the .NET Framework.For more information, see What's New in MSBuild 12.0.
Namespace: Microsoft.Build.Utilities
Assembly: Microsoft.Build.Utilities.Core (in Microsoft.Build.Utilities.Core.dll)
Syntax
'Declaration
Protected Overridable Function GetResponseFileSwitch ( _
responseFilePath As String _
) As String
protected virtual string GetResponseFileSwitch(
string responseFilePath
)
protected:
virtual String^ GetResponseFileSwitch(
String^ responseFilePath
)
abstract GetResponseFileSwitch :
responseFilePath:string -> string
override GetResponseFileSwitch :
responseFilePath:string -> string
protected function GetResponseFileSwitch(
responseFilePath : String
) : String
Parameters
responseFilePath
Type: System.StringThe full path to the temporary .rsp file.
Return Value
Type: System.String
The command line switch used by the executable file to specifiy a response (.rsp) file.
Remarks
This method is only called if GenerateResponseFileCommands returns a non-empty string value.
This method is called after ValidateParameters, SkipTaskExecution and GenerateResponseFileCommands.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see dd66cd4c-b087-415f-9c3e-94e3a1835f74.