Learn What Is Azure Artifacts And How To Use

Microsoft Azure Artifacts is a managed repository service mainly used for NuGet packages, allowing a team to use private deploys as any usual NuGet source.

You can store and share the packaged files, libraries, and binaries. The artifacts help to work with CI/CD and build pipelines.

This document intends to notice the Azure Artifacts and not to explain packing your source code.

Artifacts can be added to Azure DevOps using the artifacts command in the Azure CLI using nuget.exe.

Learn what is Azure Artifacts and how use

Click on "Add Feed".

Learn what is Azure Artifacts and how use

To upload your content, click on "Connect to Feed".

Learn what is Azure Artifacts and how use

Select the "NuGet.exe" option

Learn what is Azure Artifacts and how use

Copy the Configuration.

Learn what is Azure Artifacts and how use

Your feed should be added to the Visual Studio NuGet Package Manager.

Learn what is Azure Artifacts and how use

For use, select from Package Source.

Learn what is Azure Artifacts and how use

Uploading existing .nupkg files to Artifacts

Download nuget.exe's last version from https://nuget.org/downloads.

Add your Feed with CLI

Use the command below to upload the package, replacing [FEED_NAME] with your feed's name.

C:\MyPacks\nuget.exe sources Add -Name [FEED_NAME] -Source [PATH_OF_Index.json].

Upload packages

Use the command below to upload the package, replacing [FEED_NAME] with your feed's name and [FULL_PATH] with the path and file name of your .nupkg:

C:\MyPacks\nuget.exe push -Source [FEED_NAME] -ApiKey az "[FULL_PATH].nupkg"

Unleash your Artifacts for your team!

The Avengers run into a fight in 'Avengers: Endgame.'

The Artifacts images are from the Microsoft Learn website.


Similar Articles