79354846

Date: 2025-01-14 11:29:35
Score: 0.5
Natty:
Report link

'with no internet connection' is the reason of above 'unable to load the service index for source https://api.nuget.org/v3/index.json' error. the app wants to isntall required packages from nuget.org but can't access the nuget api.

If the ADO server is 100% no chance of getting the internet access (even proxy is not an option), you have to use the build-in Azure Artifacts in ADO (that can be used to serve as a package server). You basically manually download required packages from nuget.org and manually upload to the ADO feed, then finally point your build server to use ADO as a nuget server.

https://learn.microsoft.com/en-us/azure/devops/artifacts/get-started-nuget?view=azure-devops&tabs=windows

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: qkfang