I'm trying to build version 3.1.300 of the dotnet/cli repository but the build.sh fails during the restore process with the following error message:
/build/cli/artifacts/toolset/restore.proj : error : Unable to load the service index for source https://pkgs.dev.azure.com/dnceng/_packaging/darc-int-dotnet-core-setup-0c2e69ca/nuget/v3/index.json.
100 | /build/cli/artifacts/toolset/restore.proj : error : Unable to load the service index for source https://pkgs.dev.azure.com/dnceng/_packaging/darc-int-dotnet-corefx-059a4a19/nuget/v3/index.json.
101
When I try to go directly to the URL for the package source I get access denied:
{"$id":"1","innerException":null,"message":"TF400813: The user 'Windows Live ID\\xxx@gmail.com' is not authorized to access this resource.","typeName":"Microsoft.TeamFoundation.Framework.Server.UnauthorizedRequestException, Microsoft.TeamFoundation.Framework.Server","typeKey":"UnauthorizedRequestException","errorCode":0,"eventId":3000}
The https://pkgs.dev.azure.com/dnceng/_packaging/darc-int-dotnet-core-setup-0c2e69ca/nuget/v3/index.json package source is coming from the NuGet.config file here https://github.com/dotnet/cli/blob/v3.1.300/NuGet.config
Why are the package source requiring authentication and how are automation machines not running in the .NET team's build system supposed to be able to build the project if authentication is required.
I'm trying to build version 3.1.300 of the dotnet/cli repository but the
build.shfails during the restore process with the following error message:When I try to go directly to the URL for the package source I get access denied:
The
https://pkgs.dev.azure.com/dnceng/_packaging/darc-int-dotnet-core-setup-0c2e69ca/nuget/v3/index.jsonpackage source is coming from the NuGet.config file here https://github.com/dotnet/cli/blob/v3.1.300/NuGet.configWhy are the package source requiring authentication and how are automation machines not running in the .NET team's build system supposed to be able to build the project if authentication is required.