ServiceCollectionExtensions.

UseWorkingDirectory(IServiceCollection, DirectoryPath) Method

Summary

Sets the relative working directory to be used when running the build.
Namespace
Cake.Frosting
Containing Type
ServiceCollectionExtensions

Syntax

public static IServiceCollection UseWorkingDirectory(this IServiceCollection services, DirectoryPath path)

Parameters

Name Type Description
services IServiceCollection The service collection.
path DirectoryPath The working directory path.

Return Value

Type Description
IServiceCollection The same IServiceCollection instance so that multiple calls can be chained.