1

I am getting this error -- > No packages exist with this id in source(s): NuGetOrg

I am trying to add an External package which is not available in Nuget.org. We are getting this error on the Azure CI/CD pipeline. How can I add custom packages on DevOps Please help. Thanks in advance.

Gaurang
  • 13
  • 2

1 Answers1

2

You can create a nuget feed in your azure devops project.

Please follow the steps given in Microsoft documents to create nuget feed in azure devops.

And then publish your custom packages to the nuget feed in your azure devops project.

After your custom packages are published, you need to choose Feeds to use and select the nuget feed you created in above step in the Nuget Restore task in your pipeline

enter image description here

You pipeline should be able to find your custom packages now.

Levi Lu-MSFT
  • 27,483
  • 2
  • 31
  • 43
  • Thanks buddy.. We are going with the same solution. – Gaurang Jan 16 '20 at 09:42
  • Hi @Gaurang That's great. If there is any question please let me know. And if above answer is helpful to you. You can accept it. Thanks – Levi Lu-MSFT Jan 16 '20 at 10:01
  • We have solved this issue with your given solution. because my reputation score is less than 15 so I am unable to vote this answer. – Gaurang Jan 17 '20 at 07:01