Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The NuGet Update action is used to update the Nuget packages to the latest version.

NuGet Update

Image RemovedImage Added

Name

A friendly name for this action (will be displayed in the actions workflow area).

...

Determines if this action will be run within the relevant stage.

...

Configuration or Solution File

The location of your .sln or packages.conf file within your source controlpath and file name to a packages.config, project or solution file that lists the project's dependencies.

Repository Path

The path to the local packages folder (location where packages are installed).  Leave blank to use a 'Packages' subfolder under the directory of the configuration or solution file. [-RepositoryPath]

Sources

An optional list of NuGet Feed package sources to search for updates (the default source location is nuget.org). [-Source]

Configuration File

...

Packages

A comma separated list of IDs for the packages to update. By default, all packages are updated. [-Id]

Command Line Version

Select the version of the NuGet command line that is installed on the agent. Some other settings and options may be unavailable depending which the command line version is selected.

Using

The Using drop down is populated with any property collector whose namespace matches the pattern defined by the NuGet Update action. The pattern for this action is ^NuGet.*

...

Alternatively, you can select the Custom option from the Using drop down list and specify a path in the resulting input field that will be displayed. Please read Why it's a good idea to use a property collector before using this option.


Downloads

Image Added

Sources

An optional list of NuGet Feed package sources to search for updates (the default source location is nuget.org). [-Source]

File Conflict Action

The action to take, when asked to overwrite or ignore existing files referenced by the project: Overwrite, Ignore, None. [-FileConflictAction]


Build

Image Added

MSBuild Version

The version of MSBuild to use with this command.

...

Leave blank to default to the MSBuild executable in your path, or otherwise the highest installed version of MSBuild. [-MSBuildVersion]

MSBuild Path

The path to the MSBuild executable to use with the command. This takes precedence over the MSBuild Version. [-MSBuildPath]


Settings

Image Added

Configuration File

The NuGet configuation file. If not specified, the file %AppData%\NuGet\NuGet.config is used. [-ConfigFile]

Version

The version of the package to update to. [-Version]

Options

Image Removed

Safe mode

Tick this to look for updates with the highest version available within the same major and minor version as the installed package. [-Safe]

Also update NuGet.exe

Tick this update the running NuGet.exe to the newest version available from the server. You need to ensure that the user running the Agent service has the correct permissions to do this. [-Self]

...

Allows updating to prerelease versions. This flag is not required when updating prerelease packages that are already installed.  [-PreRelease]

File Conflict Action

...


Options

Image Added

Verbosity

How much information should the command line output? [-Verbosity]

Force English output

Forces the command line to run using an invariant, English-based culture. [-ForceEnglishOutput]

Timeout (in seconds)

How long to wait for the action to finish running before timing out. Leaving this blank (or zero) will default to 86400 seconds (24 hours).

Treat failure as warning

Tick to continue build on failure marking the action with a warning status.

Ignore warnings

If this is ticked, any warnings logged will not mark the action with a warning status

...

Log standard output

...

.


Environment

Image RemovedImage Added

Environment Variables

...