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 Field | Description |
ConfigFile
Signature: string option
|
NuGet configuration file. Default |
ExcludeVersion
Signature: bool
|
If set, the destination directory will contain only the package name, not the version number. Default |
NoCache
Signature: bool
|
Disable looking up packages from local machine cache. Default |
NonInteractive
Signature: bool
|
Do not prompt for user input or confirmations. Default |
OutputDirectory
Signature: string
|
Specifies the directory in which packages will be installed. Default |
Prerelease
Signature: bool
|
Allows updating to prerelease versions. Default |
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 |
Version
Signature: string
|
The version of the package to install. |