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

OBSOLETE

Use Fake.DotNet.NuGet.Install instead

NugetInstallParams

Nuget install parameters.

Record Fields

Record FieldDescription
ConfigFile
Signature: string option

NuGet configuration file. Default None.

ExcludeVersion
Signature: bool

If set, the destination directory will contain only the package name, not the version number. Default false.

NoCache
Signature: bool

Disable looking up packages from local machine cache. Default false.

NonInteractive
Signature: bool

Do not prompt for user input or confirmations. Default true.

OutputDirectory
Signature: string

Specifies the directory in which packages will be installed. Default ./packages/.

Prerelease
Signature: bool

Allows updating to prerelease versions. Default false.

Retries
Signature: int

Number of retries if update fails.

Sources
Signature: string list

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

TimeOut
Signature: TimeSpan

Timeout for the update.

ToolPath
Signature: string

Path to the nuget.exe.

Verbosity
Signature: NugetInstallVerbosity

Display this amount of details in the output: normal, quiet, detailed. Default normal.

Version
Signature: string

The version of the package to install.