ToolTask.GetResponseFileSwitch Method (String)

 

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)

protected virtual string GetResponseFileSwitch(
	string responseFilePath
)

Parameters

responseFilePath
Type: System.String

The 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.

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

This method is called after ValidateParameters, SkipTaskExecution and GenerateResponseFileCommands.

Return to top
Show: