ARTIFACTORY: How to Configure NuGet Remote Repository as DevExpress

ARTIFACTORY: How to Configure NuGet Remote Repository as DevExpress

AuthorFullName__c
Srigokul Subramanian, Yonatan Hen
articleNumber
000006063
ft:sourceType
Salesforce
FirstPublishedDate
2024-03-27T12:03:42Z
lastModifiedDate
2024-03-27
VersionNumber
2

DevExpress V2 is not supported anymore, and as a result, remote NuGet repositories pointing to the DevExpress registry need to be configured with NuGet V3. Below are the configuration steps that should be taken into account when setting up NuGet Remote Repository as DevExpress:

Step 1:
Create a NuGet remote repository that points to the URL nuget.devexpress along with <authorization token>. The authorization key should be generated in the DevExpress URL (https://nuget.devexpress.com), prior to configuring in Artifactory. 

The URL would be as below: 

https://nuget.devexpress.com/<authorization token>/api

Step 2:
Configure the following configurations via the repository page in the UI:

User-added image
The ‘Nuget Download Context Path’ value should be Package, and the ‘Nuget V3 Feed URL’ needs to be as follows:
https://nuget.devexpress.com/<authorization token>/api/v3/index.json

You can copy the path mentioned from https://nuget.devexpress.com (after logging in with your account):
User-added image
Step 3:
Configure the integration of the repository with your NuGet client per the NuGet V3 instructions that are present in the Set Me Up page in the UI:
nuget sources Add -Name Artifactory -Source http://URL/artifactory/api/nuget/v3/devexpress-remote -username username -password password

nuget setapikey username:key -Source Artifactory

Step 4:
You should be able to install packages from the repository that are used as a proxy to the DevExpress registry, as an example:
nuget install DevExpress.Win -Source Artifactory
Then, the packages will be cached in the repository:
User-added image