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
Removes a value from the path.
Syntax
public static void RemoveFromPath(this ICakeContext context, DirectoryPath value, PathSettings pathSettings)
Examples
Task("RemoveFromPath")
.Does(() =>
{
var settings = new PathSettings {
Target = PathTarget.User // Target is only available in net45
}
RemoveFromPath("C:\\Python27\\", settings);
});
Attributes
Type |
Description |
CakeMethodAliasAttribute |
|
Parameters
Name |
Type |
Description |
context |
ICakeContext |
The context. |
value |
DirectoryPath |
Item to remove. |
pathSettings |
PathSettings |
Settings for the PATH. |
Return Value