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

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
Modifiers: inline

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
Modifiers: inline

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.