FAKE - F# Make - A DSL for build tasks and more FAKE
6.0.0

Lookig for older versions of the documentation, pre FAKE v6? See 

v5.fake.build

DotNet.BuildOptions Type

dotnet build command options

Record fields

Record Field Description

BuildBasePath

Full Usage: BuildBasePath

Field type: string option

Build base path (--build-base-path)

Field type: string option

Common

Full Usage: Common

Field type: Options

Common tool options

Field type: Options

Configuration

Full Usage: Configuration

Field type: BuildConfiguration

Pack configuration (--configuration)

Field type: BuildConfiguration

Framework

Full Usage: Framework

Field type: string option

Target framework to compile for (--framework)

Field type: string option

MSBuildParams

Full Usage: MSBuildParams

Field type: CliArguments

Other msbuild specific parameters

Field type: CliArguments

Native

Full Usage: Native

Field type: bool

Native flag (--native)

Field type: bool

NoLogo

Full Usage: NoLogo

Field type: bool

Don't show copyright messages. (--nologo)

Field type: bool

NoRestore

Full Usage: NoRestore

Field type: bool

Doesn't execute an implicit restore during build. (--no-restore)

Field type: bool

OutputPath

Full Usage: OutputPath

Field type: string option

Output path (--output)

Field type: string option

Runtime

Full Usage: Runtime

Field type: string option

Target runtime to publish for (--runtime)

Field type: string option

Instance members

Instance member Description

this.Environment

Full Usage: this.Environment

Returns: Map<string, string>

Gets the current environment

Returns: Map<string, string>

this.WithCommon

Full Usage: this.WithCommon

Parameters:
Returns: BuildOptions
Modifiers: inline

Changes the "Common" properties according to the given function

f : Options -> Options
Returns: BuildOptions

this.WithEnvironment

Full Usage: this.WithEnvironment

Parameters:
    map : Map<string, string>

Returns: BuildOptions

Sets the current environment variables.

map : Map<string, string>
Returns: BuildOptions

this.WithRedirectOutput

Full Usage: this.WithRedirectOutput

Parameters:
    shouldRedirect : bool

Returns: BuildOptions

Sets a value indicating whether the output for the given process is redirected.

shouldRedirect : bool
Returns: BuildOptions

Static members

Static member Description

BuildOptions.Create()

Full Usage: BuildOptions.Create()

Returns: BuildOptions

Parameter default values.

Returns: BuildOptions