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

Update

Contains tasks for updating NuGet packages including assembly hint paths in the project files using the nuget.exe update command.

Nested types and modules

TypeDescription
NugetUpdateParams

Nuget update parameters.

Functions and values

Function or valueDescription
NugetUpdate setParams packagesFile
Signature: setParams:(NugetUpdateParams -> NugetUpdateParams) -> packagesFile:string -> unit

Update packages specified in the package file.

Fails if packages are not installed; see nuget bug. Fails if packages file has no corresponding VS project; see nuget bug.

Parameters

  • setParams - Function used to manipulate the default parameters.
  • packagesFile - Path to the *.sln, *.*proj or packages.config file.
NugetUpdateDefaults
Signature: NugetUpdateParams

Parameter default values.