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.
Click on "Add Feed".
To upload your content, click on "Connect to Feed".
Select the "NuGet.exe" option
Copy the Configuration.
Your feed should be added to the Visual Studio NuGet Package Manager.
For use, select from Package Source.
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 Artifacts images are from the Microsoft Learn website.