This content is part of a third party extension that is not supported by the Cake project.
For more information about this extension see
Cake.Path.
Summary
Gets the environment's path.
Syntax
public static string GetEnvironmentPath(this ICakeContext context)
Examples
Task("GetEnvironmentPath")
.Does(() =>
{
string path = GetEnvironmentPath();
});
Attributes
Type |
Description |
CakeMethodAliasAttribute |
|
Parameters
Name |
Type |
Description |
context |
ICakeContext |
The context. |
Return Value
Type |
Description |
string |
Returns a string containing the path |