Summary
An immutable representation of a particular build environment (paths, properties, etc).
- Namespace
- Buildalyzer
.Environment - Base Types
-
- object
graph TD
Base0["object"]-->Type
Type["BuildEnvironment"]
class Type type-node
Syntax
public sealed class BuildEnvironment
Constructors
Properties
Name | Value | Summary |
---|---|---|
DesignTime | bool |
Indicates that a design-time build should be performed.
|
DotnetExePath | string | |
EnvironmentVariables | IReadOnlyDictionary |
|
GlobalProperties | IReadOnlyDictionary |
|
IsRunningOnCore | bool |
static
|
MsBuildExePath | string | |
Restore | bool |
Runs the restore target prior to any other targets using the MSBuild
restore switch.
|
TargetsToBuild | string[] |
Methods
Name | Value | Summary |
---|---|---|
WithTargetsToBuild |
BuildEnvironment |
Clones the build environment with a different set of build targets.
|