Class BuildContextObject
Unified context object exposed to build scripts as 'Context'. Provides access to paths and build state.
public class BuildContextObject
- Inheritance
-
BuildContextObject
- Inherited Members
Constructors
BuildContextObject(string)
Creates a new build context rooted at the specified directory.
public BuildContextObject(string rootPath)
Parameters
rootPathstringThe project root directory (where build.csando is located).
Properties
Paths
Provides access to standardized project paths.
public PathsContext Paths { get; }
Property Value
Methods
EnsureDirectoriesExist()
Ensures all required directories exist. Called before build execution to prepare the output locations.
public void EnsureDirectoriesExist()