All Products
Search
Document Center

Alibaba Cloud DevOps:NuGet artifact management

Last Updated:Apr 23, 2025

This topic describes how to manage artifacts in a NuGet private repository in Alibaba Cloud DevOps Packages.

Prerequisites

A NuGet repository is created.

Use a NuGet repository

Go to the NuGet repository details page. In the left-side navigation pane, click User Guide and specify the push and pull parameters by following the on-screen instructions.

image

View and manage a NuGet artifact

Go to the repository details page. In the left-side navigation pane, click Artifacts to view all artifacts in the repository. You can also search for artifacts by name. In the upper-right corner of the page, click the search icon and specify the artifact name to conduct the search.

image

View artifact version details

On the Artifacts page, click the name of the artifact that you want to manage. In the panel that appears, the detailed information about the artifact is displayed. The version is automatically set to the latest version. To switch to a different version, select that version option from the drop-down list.

image

Disable an artifact version

On the Artifacts page, click the name of the artifact that you want to manage. In the panel that appears, turn on Disable Artifact to disable that version of the artifact.

image

Note

Take note that the scope of disabling applies to a specific version, not the entire artifact. As shown in the preceding figure, if you disable the Newtonsoft.Json 12.0.3 version in the artifact details panel, version 12.0.3 is not available for download. However, other versions such as Newtonsoft.Json 13.0.3 are still available for download and use.

Manage artifact metadata

On the Artifacts page, click the name of the artifact that you want to manage. In the panel that appears, click the Metadata tab to manage the metadata information of the artifact version. The metadata applies only to the specific artifact version.

image

Delete an artifact version

On the Artifacts page, click the name of the artifact that you want to manage. In the panel that appears, click Delete This Version to delete the artifact version. After the artifact version is deleted, you can recover this version from the artifact recycle bin.