Error facing error while building solution in tfs azure.

Sufiyan Ansari 0 Reputation points
2025-05-08T05:21:36.8733333+00:00

I am facing error while building any .net solution is tfs azure, since 5-may-2025.

Error:

NU1301: Unable to load the service index for source https://api.nuget.org/v3/index.json.

Sometimes this url works in my network. Also while I do use my internet data , sometimes the url works and sometimes not.

.NET Runtime
.NET Runtime
.NET: Microsoft Technologies based on the .NET software framework.Runtime: An environment required to run apps that aren't compiled to machine language.
1,242 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Amit Kharkade 1 Reputation point
    2025-05-08T05:29:02.3666667+00:00

    Hello Sufiyan Ansari,

    Can you confirm if the following checks have been done, or if you can try the steps below to resolve the issue?

    • Clear your NuGet cache (nuget locals all -clear).
    • Check for proxy, firewall, and DNS issues.
    • Test your connectivity and retry the build.

    If the issue persists, consider using an internal NuGet source or a mirror.

    If you found this information helpful, please click "Upvote" and "Accept Answer" to let us know.

    Regards,
    Amit Kharkade


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.