NuGet.org upstream source
Azure DevOps Services | Azure DevOps Server 2020 | Azure DevOps Server 2019 | TFS 2018 - TFS 2017
Enabling upstream sources on your feed allow you to publish and consume packages from your feed and public registries. Adding the nuget.org upstream allows you to consume NuGet packages from the public registry.
Add a new upstream source
Select Artifacts, and then select your feed.
Select the
button in the top right of the page to open Feed settings.Select the Upstream sources tab.
Select Add upstream source.
Select Public source, and then fill out the required fields.
Select Add when you are done.
Update nuget.config
Select Artifacts, and then select your feed.
Select Connect to feed, and then choose NuGet.exe.
Copy the XML snippet in the Project Setup section.
Create a new file named nuget.config in the root of your project.
Paste the XML snippet in your config file.
View saved packages
You can view the packages you saved in your feed by selecting the appropriate Source filter.