BuildMaster SDK Reference
Version:

ResolvePath(IOperationExecutionContext context, string path, string defaultSourcePath) Method

Returns a fully-resolved absolute path of the specified file or directory, using the supplied default source path if supplied with a relative path.

Syntax

public static string ResolvePath(IOperationExecutionContext context, string path, string defaultSourcePath)

Parameters

context
Type: IOperationExecutionContext

The context.

path
Type: string

The path to resolve.

defaultSourcePath
Type: string

The working directory to use for resolving path.

Returns

Fully-resolved absolute path.

Exceptions

System.ArgumentNullException

context is null (Nothing in Visual Basic).