Skip to content
Henrik edited this page Aug 21, 2014 · 1 revision

Update one or more NuGet packages.

nugetupdate :update do |cmd|
  cmd.input_file = "path/to/solution"
  cmd.safe
end

Required Parameters

Input File

The location of the packages.config or solution file.

input_file = "path/to/input/file"

Optional Parameters

Repository Path

Path to the local packages folder.

repository_path = "path/to/packages"

Source

Package sources to search.

source = ["http://mycompany/nuget/feed"]

Id

Package ids to update.

id = ["foo", "bar"]

Safe

Look for updates in the same major/minor version.

safe

Guidance

(none)

Clone this wiki locally