How to configure a NuGet remote repository to proxy Azure DevOps?

How to configure a NuGet remote repository to proxy Azure DevOps?

AuthorFullName__c
Hanan Kemelman
articleNumber
000004988
ft:sourceType
Salesforce
FirstPublishedDate
2021-01-31T10:01:26Z
lastModifiedDate
2021-01-31
VersionNumber
8

To configure a remote NuGet repository to proxy Azure DevOps, please follow the below steps:

 NOTE:  This solution is compatible with version 6.22.0 and above for Artifactory 6.X, and version 7.8.1 and above of the JFrog Platform.

  • Created a remote NuGet repository with the following values:

URL:
 

https://pkgs.dev.azure.com/<$AZURE_ORG_NAME>/_packaging/<$FEED_NAME>/nuget/

NuGet Download Context Path:

v2

NuGet V3 feed URL:

https://pkgs.dev.azure.com/<$AZURE_ORG_NAME>/_packaging/<$FEED_NAME>/nuget/v3/index.json

NuGet Feed Context Path:

Empty

 

Please note, the Test button will not work with this endpoint, and will return a 404 error.

User-added image​​​​​
  • Provide the credential under the Advanced tab
​​​​​​​User-added image
  • Add the repository to the NuGet config file. Please note, currently, only the NuGet V3 feed is supported for this remote source.User-added image