DownloadPackage@0 - Download package v0 task

Use this task to download a package from a package management feed in VSTS or TFS. Requires the Package Management extension.

Inputs

feed - Feed
string. Required.

Specifies the package source.


definition - Package
string. Required.

Specifies the package to download. Only NuGet packages are currently supported.


version - Version
string. Required.

Specifies the version of the package.


downloadPath - Destination directory
string. Required. Default value: $(System.ArtifactsDirectory).

Specifies the path on the agent machine where the package is downloaded.


Task control options

All tasks have control options in addition to their task inputs. For more information, see Control options and common task properties.

Output variables

None.

Requirements

Requirement Description
Pipeline types YAML, Classic build, Classic release
Runs on Agent, DeploymentGroup
Demands None
Capabilities This task does not satisfy any demands for subsequent tasks in the job.
Command restrictions Any
Settable variables Any
Agent version 1.99.0 or greater
Task category Utility