ToolSettingsExtensions.

WithNoWorkingDirectory<T>(T, bool) Method

Summary

Sets whether the tool should use a working directory or not.
Namespace
Cake.Core.Tooling
Containing Type
ToolSettingsExtensions

Syntax

public static T WithNoWorkingDirectory<T>(this T toolSettings, bool noWorkingDirectory = true) 
    where T : ToolSettings

Type Parameters

Name Description
T The ToolSettings type.

Parameters

Name Type Description
toolSettings T The tools settings.
noWorkingDirectory bool Flag for no working directory (default true).

Return Value

Type Description
T The tools settings.