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

MSBuildOptions

dotnet restore command options

Record Fields

Record FieldDescription
Common
Signature: Options

Common tool options

MSBuildParams
Signature: CliArguments

Instance members

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

Gets the current environment

x.WithCommon(f)
Signature: (f:(Options -> Options)) -> MSBuildOptions

Changes the "Common" properties according to the given function

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

Sets the current environment variables.

x.WithMSBuildParams(f)
Signature: (f:(CliArguments -> CliArguments)) -> MSBuildOptions

Changes the "MSBuildParams" properties according to the given function

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

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

Static members

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

Parameter default values.