This is part of the Fake.DotNet.Cli module.
dotnet restore command options
Record Field | Description |
Common
Signature: Options
|
Common tool options
|
ConfigFile
Signature: string option
|
Path to the nuget configuration file (nuget.config).
|
DisableParallel
Signature: bool
|
Disables restoring multiple projects in parallel (--disable-parallel)
|
IgnoreFailedSources
Signature: bool
|
Only warning failed sources if there are packages meeting version requirement (--ignore-failed-sources)
|
MSBuildParams
Signature: CliArguments
|
Other msbuild specific parameters
|
NoCache
Signature: bool
|
No cache flag (--no-cache)
|
Packages
Signature: string list
|
Directory to install packages in (--packages).
|
Runtime
Signature: string option
|
The runtime to restore for (seems added in RC4). Maybe a bug, but works.
|
Sources
Signature: string list
|
Nuget feeds to search updates in. Use default if empty.
|
Instance member | Description |
x.Environment
Signature: Map<string,string>
|
Gets the current environment
|
x.WithCommon(f)
Signature: (f:(Options -> Options)) -> RestoreOptions
Modifiers: inline
|
Changes the "Common" properties according to the given function
|
x.WithEnvironment(map)
Signature: map:Map<string,string> -> RestoreOptions
|
Sets the current environment variables.
|
x.WithRedirectOutput(shouldRedirect)
Signature: shouldRedirect:bool -> RestoreOptions
|
Sets a value indicating whether the output for the given process is redirected.
|
Static member | Description |
RestoreOptions.Create()
Signature: unit -> RestoreOptions
|
Parameter default values.
|
RestoreOptions.Default
Signature: Options
Attributes:
[<Obsolete("Use Options.Create instead")>]
|
OBSOLETE
Use Options.Create instead
|