Skip to content

NuGet - Settings

Process steps in the NuGet plug-in

Import Version

Create a new component version and import artifacts from a NuGet repository.

This step has no input properties.

Roles in the NuGet plug-in

The plug-in adds these roles automatically to resources. You cannot add these roles manually.

NuGetComponentProperties

NameTypeDescription
Convert File CharsetBooleanSelect to convert the .nupkg artifact to a new charset during the import.
Include prerelease packagesBooleanSelect to include prerelease packages during the import.
NuGet URLStringThe fully-qualified URL of the NuGet repository. If you are retrieving a public NuGet package, use default value which is https://api-v2v3search-0.nuget.org. The URL format is different for the NuGet v2 and v3 servers. For v2 use the format: https://[server_ip or domain_name]/artifactory/api/nuget/nuget-hosted. For v3 use the format: https://[server_ip or domain_name]/artifactory/api/nuget/v3/nuget-hosted.
Package NameStringThe name of the NuGet package to import.
PasswordPasswordThe password associated with the user name used to authenticate with the NuGet repository.
Preserve Execute PermissionsBooleanSelect to save file execute permissions with files.
Proxy HostStringIf you authenticate through a proxy, specify the name of the host.
Proxy PasswordPasswordIf a proxy is protected, specify the password associated with authorized user name.
Proxy PortStringIf you authenticate through a proxy, specify the port number.
Proxy UserStringIf a proxy is protected, specify an authorized user name.
Trust All CertificatesBooleanSelect to accept all SSL certificates when authenticating with the NuGet repository.
UserStringThe user name used to authenticate with the NuGet repository.

NuGetImportProperties

NameTypeDescription
NuGet VersionStringThe version of the NuGet artifacts to import.
Rename VersionStringIf a version is specified on the NuGet Version property, replace the version with the value specified in this property for the imported artifacts.
Version DescriptionStringAn optional description to add to the versions that are imported into DevOps Deploy.