Build failing with not being able to restore workerExtension.csproj

Ash 70 Reputation points Microsoft Employee
2024-09-19T15:37:05.55+00:00

Hi, We are encountering a transient error in our cloud build pipeline. When attempting to restore packages for our Azure Function, we receive the following errors:

D:\dbs\sh\aac6\temp\0mjoggt1.c2j\WorkerExtensions.csproj : error NU1301: Unable to load the service index for source https://api.nuget.org/v3/index.json.
D:\dbs\sh\aac6\temp\0mjoggt1.c2j\WorkerExtensions.csproj : error NU1301: Unable to load the service index for source https://api.nuget.org/v3/index.json.
D:\dbs\sh\aac6\temp\0mjoggt1.c2j\WorkerExtensions.csproj : error NU1301: Unable to load the service index for source https://api.nuget.org/v3/index.js
on.

We had tried the hack as mentioned in https://github.com/Azure/azure-functions-dotnet-worker/issues/1252 to have seperate project adding the required dependencies and it had worked. However, the problem has resurfaced in the past two weeks. Could someone please assist us with this issue?

Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
4,911 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,808 questions
0 comments No comments
{count} votes

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.