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

DotNet.RestoreOptions Type

dotnet restore command options

Record fields

Record Field Description

Common

Full Usage: Common

Field type: Options

Common tool options

Field type: Options

ConfigFile

Full Usage: ConfigFile

Field type: string option

Path to the nuget configuration file (nuget.config).

Field type: string option

DisableParallel

Full Usage: DisableParallel

Field type: bool

Disables restoring multiple projects in parallel (--disable-parallel)

Field type: bool

IgnoreFailedSources

Full Usage: IgnoreFailedSources

Field type: bool

Only warning failed sources if there are packages meeting version requirement (--ignore-failed-sources)

Field type: bool

MSBuildParams

Full Usage: MSBuildParams

Field type: CliArguments

Other msbuild specific parameters

Field type: CliArguments

NoCache

Full Usage: NoCache

Field type: bool

No cache flag (--no-cache)

Field type: bool

Packages

Full Usage: Packages

Field type: string list

Directory to install packages in (--packages).

Field type: string list

Runtime

Full Usage: Runtime

Field type: string option

The runtime to restore for (seems added in RC4). Maybe a bug, but works.

Field type: string option

Sources

Full Usage: Sources

Field type: string list

Nuget feeds to search updates in. Use default if empty.

Field type: string list

Instance members

Instance member Description

this.Environment

Full Usage: this.Environment

Returns: Map<string, string>

Gets the current environment

Returns: Map<string, string>

this.WithCommon

Full Usage: this.WithCommon

Parameters:
Returns: RestoreOptions
Modifiers: inline

Changes the "Common" properties according to the given function

f : Options -> Options
Returns: RestoreOptions

this.WithEnvironment

Full Usage: this.WithEnvironment

Parameters:
    map : Map<string, string>

Returns: RestoreOptions

Sets the current environment variables.

map : Map<string, string>
Returns: RestoreOptions

this.WithRedirectOutput

Full Usage: this.WithRedirectOutput

Parameters:
    shouldRedirect : bool

Returns: RestoreOptions

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

shouldRedirect : bool
Returns: RestoreOptions

Static members

Static member Description

RestoreOptions.Create()

Full Usage: RestoreOptions.Create()

Returns: RestoreOptions

Parameter default values.

Returns: RestoreOptions