- Namespace
- Buildalyzer
.Environment - Base Types
-
- object
graph TD
Base0["object"]-->Type
Type["EnvironmentOptions"]
class Type type-node
Syntax
public class EnvironmentOptions
Properties
Name | Value | Summary |
---|---|---|
DesignTime | bool |
Indicates that a design-time build should be performed.
The default value is
true .
|
DotnetExePath | string |
The full path to the
dotnet executable you want to use for the build when building
projects using the .NET Core SDK. Defaults to dotnet which will look in folders
specified in the path environment variable.
|
EnvironmentVariables | IDictionary |
|
GlobalProperties | IDictionary |
|
Preference | Environment |
Indicates a preferences towards the build environment to use.
The default is a preference for the .NET Core SDK.
|
Restore | bool |
Runs the restore target prior to any other targets using the MSBuild
restore switch.
|
TargetsToBuild | List |
The default targets to build.
|