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.Update instead

NugetUpdateParams

Nuget update parameters.

Record Fields

Record FieldDescription
ConfigFile
Signature: string option

NuGet configuration file. Default None.

Ids
Signature: string list

Packages to update. Update all if empty.

NonInteractive
Signature: bool

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

Prerelease
Signature: bool

Allows updating to prerelease versions. Default false.

RepositoryPath
Signature: string

Folder to store packages in. Default ./packages.

Retries
Signature: int

Number of retries if update fails.

Safe
Signature: bool

Looks for updates with the highest version available within the same major and minor version as the installed package. Default false.

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.

Verbose
Signature: bool

Show verbose output while updating. Default false.

Version
Signature: string option

Version to update to. Default None. Used to upgrade/downgrade to a explicit version of a package.