CakeConfigurationExtensions.

GetToolPath(ICakeConfiguration, DirectoryPath, ICakeEnvironment) Method

Summary

Gets the tool directory path.
Namespace
Cake.Core
Containing Type
CakeConfigurationExtensions

Syntax

public static DirectoryPath GetToolPath(this ICakeConfiguration configuration, DirectoryPath defaultRoot, ICakeEnvironment environment)

Parameters

Name Type Description
configuration ICakeConfiguration The Cake configuration.
defaultRoot DirectoryPath The default root path.
environment ICakeEnvironment The environment.

Return Value

Type Description
DirectoryPath The tool directory path.