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

MSBuildParams Type

A type for MSBuild task parameters Please see MSBuild command line reference

Record fields

Record Field Description

BinaryLoggers

Full Usage: BinaryLoggers

Field type: string list option

corresponds to the msbuild option /bl

Field type: string list option

ConsoleLogParameters

Full Usage: ConsoleLogParameters

Field type: MSBuildLogParameter list

corresponds to the msbuild option /consoleloggerparameters

Field type: MSBuildLogParameter list

DisableInternalBinLog

Full Usage: DisableInternalBinLog

Field type: bool

Fake attaches a binlog-logger in order to report errors and warnings. You can disable this behavior with this flag

Field type: bool

DistributedLoggers

Full Usage: DistributedLoggers

Field type: (MSBuildLoggerConfig * MSBuildLoggerConfig option) list option

corresponds to the msbuild option /dl

Field type: (MSBuildLoggerConfig * MSBuildLoggerConfig option) list option

DoRestore

Full Usage: DoRestore

Field type: bool

Execute a restore before executing the targets (/restore flag)

Field type: bool

Environment

Full Usage: Environment

Field type: Map<string, string>
Field type: Map<string, string>

FileLoggers

Full Usage: FileLoggers

Field type: MSBuildFileLoggerConfig list option

corresponds to the msbuild option /fl

Field type: MSBuildFileLoggerConfig list option

Loggers

Full Usage: Loggers

Field type: MSBuildLoggerConfig list option

corresponds to the msbuild option /l

Field type: MSBuildLoggerConfig list option

MaxCpuCount

Full Usage: MaxCpuCount

Field type: int option option

corresponds to the msbuild option /m:

  • None will omit the option.
  • Some None will emit /m.
  • Some 2 will emit /m:2.

Field type: int option option

NoConsoleLogger

Full Usage: NoConsoleLogger

Field type: bool

Disable the default console logger, and don't log events to the console.

Field type: bool

NoLogo

Full Usage: NoLogo

Field type: bool

Don't display the startup banner or the copyright message.

Field type: bool

NoWarn

Full Usage: NoWarn

Field type: string list option

The list of warning to ignore

Field type: string list option

NodeReuse

Full Usage: NodeReuse

Field type: bool

Enable or disable the re-use of MSBuild nodes. You can specify the following values

Field type: bool

Properties

Full Usage: Properties

Field type: (string * string) list

The list of properties to pass to MSBuild

Field type: (string * string) list

RestorePackagesFlag

Full Usage: RestorePackagesFlag

Field type: bool

mark if to restore the packages or not

Field type: bool

Targets

Full Usage: Targets

Field type: string list

The list of targets to use

Field type: string list

ToolPath

Full Usage: ToolPath

Field type: string

Set the MSBuild executable to use. Defaults to the latest installed MSBuild.

Field type: string

ToolsVersion

Full Usage: ToolsVersion

Field type: string option

Specifies the version of the Toolset to use to build the project

Field type: string option

Verbosity

Full Usage: Verbosity

Field type: MSBuildVerbosity option

Specifies the amount of information to display in the build log. Each logger displays events based on the verbosity level that you set for that logger

Field type: MSBuildVerbosity option

WarnAsError

Full Usage: WarnAsError

Field type: string list option

The list of warnings to treat as errors

Field type: string list option

WorkingDirectory

Full Usage: WorkingDirectory

Field type: string

The working directory to execute MSBuild in

Field type: string

Instance members

Instance member Description

this.WithEnvironment

Full Usage: this.WithEnvironment

Parameters:
    map : Map<string, string>

Returns: MSBuildParams

Sets the current environment variables.

map : Map<string, string>
Returns: MSBuildParams

Static members

Static member Description

MSBuildParams.Create()

Full Usage: MSBuildParams.Create()

Returns: MSBuildParams

Defines a default for MSBuild task parameters

Returns: MSBuildParams