This is part of the Fake.DotNet.Cli module.

BuildOptions

dotnet build command options

Record Fields

Record FieldDescription
BuildBasePath
Signature: string option

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

Common
Signature: Options

Common tool options

Configuration
Signature: BuildConfiguration

Pack configuration (--configuration)

Framework
Signature: string option

Target framework to compile for (--framework)

MSBuildParams
Signature: CliArguments

Other msbuild specific parameters

Native
Signature: bool

Native flag (--native)

NoLogo
Signature: bool

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

NoRestore
Signature: bool

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

OutputPath
Signature: string option

Output path (--output)

Runtime
Signature: string option

Target runtime to publish for (--runtime)

Instance members

Instance memberDescription
x.Environment
Signature: Map<string,string>

Gets the current environment

x.WithCommon(f)
Signature: (f:(Options -> Options)) -> BuildOptions
Modifiers: inline

Changes the "Common" properties according to the given function

x.WithEnvironment(map)
Signature: map:Map<string,string> -> BuildOptions

Sets the current environment variables.

x.WithRedirectOutput(shouldRedirect)
Signature: shouldRedirect:bool -> BuildOptions

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

Static members

Static memberDescription
BuildOptions.Create()
Signature: unit -> BuildOptions

Parameter default values.

BuildOptions.Default
Signature: BuildOptions
Attributes:
[<Obsolete("Use BuildOptions.Create instead")>]
OBSOLETE

Use BuildOptions.Create instead