Push NuGet Packages

JFrog Artifactory Documentation

Products
JFrog Artifactory
Content Type
User Guide

Note

Applicable for Local and virtual repositories. Not applicable for Remote repositories.

Deploying to this repository can be done by running the following command:

nuget push <PACKAGE_NAME> -Source Artifactory

Example

nuget push mypackage.1.0.0 -Source ArtifactoryNuGetV3

To support more manageable layouts and additional features such as cleanup, NuGet repositories support custom layouts. When pushing a package, you need to ensure that its layout matches the target repository's layout:

nuget push <PACKAGE_NAME> -Source https://company.jfrog.io/artifactory/api/nuget/pkgsdemo-NuGet-local/<PATH_TO_FOLDER>

Example

nuget push mypackage.1.0.0 -Source https://company.jfrog.io/artifactory/api/nuget/pkgsdemo-NuGet-local/releases

NuGet Symbol Packages

Deploying only Symbol package to this repository can be done by running the following command:

nuget push <SYMBOL_PACKAGE> -Source Artifactory

Example

nuget push mypackage.1.0.0.snupkg -Source ArtifactoryNuGetV3

When deploying NuGet package in the same directory with his Symbol package running the following command will deploy both of the packages:

nuget push <PACKAGE_NAME> -Source Artifactory

Example

nuget push mypackage.1.0.0 -Source ArtifactoryNuGetV3