ARTIFACTORY: How to configure sitecore.myget.org URL for NuGet remote repository

AuthorFullName__c
Shivani Budhodi
articleNumber
000005769
FirstPublishedDate
2023-06-07T08:52:48Z
lastModifiedDate
2025-07-22

ARTIFACTORY: How to configure sitecore.myget.org URL for NuGet remote repository

Introduction:

Artifactory is a powerful tool that allows for efficient management of remote repositories. In this article, we will guide you through the process of configuring and resolving NuGet packages hosted on “sitecore.myget.org” using Artifactory. 

Sitecore embraces the NuGet package management system as a robust mechanism for disseminating the latest Sitecore Commerce packages.

By following the steps outlined below, you will be able to set up a remote registry sitecore.myget.org for the NuGet Remote repository and install packages seamlessly.
 

Configuring the NuGet Remote Repository:

To begin, access the Artifactory UI and follow these steps:

  • Navigate to the Administration Tab and select "New remote repository"
  • Choose "NuGet" as the package type
Fill out the required fields as follows:
  • URL: Set the URL as "https://sitecore.myget.org/F/sc-packages" Since the packages we are trying to be resolved under “sc-packages”, the specific url is used. If in case, if the packages are hosted under different path like “sc-commerce-packages” then, the url should be "https://sitecore.myget.org/F/sc-commerce-packages"
  • NuGet Download Context Path: Set it as "api/v2/package"
  • NuGet Feed Context Path: Set it as "api/v2"
  • NuGet v3 Feed URL: Leave it blank
  • NuGet Symbol Server URL: Leave it blank

Once all the fields are filled, click on "Create" Refer to the attached screenshot for visual assistance.

User-added image
 

Resolving NuGet Packages:

Now that the NuGet repository is set up, we can proceed with resolving the packages. Follow these steps:

  • Go to Artifactory's Application tab and select "Artifactory" from the dropdown menu
  • Click on "Repository" and then select "Set Me Up"
  • Follow the instructions provided on the "Set Me Up" page for "NuGet CLI Configuration (API v2)"



User-added image


Once the configuration is complete, you are ready to install packages from the NuGet repository.

Sample Command:

To illustrate the installation process, use the below command which will install the package “CRMSecurityProvider.NoReferences”:

$ nuget install CRMSecurityProvider.NoReferences -Source ArtifactoryV2 -verbosity detailed

Screenshot:

User-added image