Note: This is the migration API reference for FAKE 5. The new (modularized) API documentation can be found here. If the API is already migrated you can check here if exists in a module. More information regarding the migration can be found here

MSBuildParams

A type for MSBuild task parameters

Record Fields

Record FieldDescription
BinaryLoggers
Signature: string list option

corresponds to the msbuild option '/bl'

ConsoleLogParameters
Signature: MSBuildLogParameter list

corresponds to the msbuild option '/consoleloggerparameters'

DisableInternalBinLog
Signature: bool

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

DistributedLoggers
Signature: (MSBuildLoggerConfig * MSBuildLoggerConfig option) list option

corresponds to the msbuild option '/dl'

DoRestore
Signature: bool

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

Environment
Signature: Map<string,string>
FileLoggers
Signature: MSBuildFileLoggerConfig list option

corresponds to the msbuild option '/fl'

Loggers
Signature: MSBuildLoggerConfig list option

corresponds to the msbuild option '/l'

MaxCpuCount
Signature: 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'.

NoConsoleLogger
Signature: bool
NodeReuse
Signature: bool
NoLogo
Signature: bool
NoWarn
Signature: string list option
Properties
Signature: (string * string) list
RestorePackagesFlag
Signature: bool
Targets
Signature: string list
ToolPath
Signature: string

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

ToolsVersion
Signature: string option
Verbosity
Signature: MSBuildVerbosity option
WarnAsError
Signature: string list option
WorkingDirectory
Signature: string

Instance members

Instance memberDescription
x.WithEnvironment(map)
Signature: map:Map<string,string> -> MSBuildParams

Sets the current environment variables.

Static members

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

Defines a default for MSBuild task parameters

MSBuildParams.Empty
Signature: MSBuildParams
Attributes:
[<Obsolete("Please use 'Create()' instead and make sure to properly set Environment via Process-module funtions!")>]
OBSOLETE

Please use 'Create()' instead and make sure to properly set Environment via Process-module funtions!