In response to this question I am typing
dotnet publish -r linux-x64
at the command line To my surprise dotnet tries to invoke one of my Azure build pipelines
My screen shows the following
C:\Users\kirst\source\repos\BlazorApp1>dotnet publish --runtime linux-x64 Microsoft (R) Build Engine version 16.8.0+126527ff1 for .NET Copyright (C) Microsoft Corporation. All rights reserved.
Determining projects to restore... C:\Program Files\dotnet\sdk\5.0.101\NuGet.targets(131,5): error : Unable to load the service index for source https://pkgs.dev.azure.com/blahblah/nuget/v3/index.json. [C:\Users\kirst\source\repos\BlazorApp1\BlazorApp1.sln] C:\Program Files\dotnet\sdk\5.0.101\NuGet.targets(131,5): error : Response status code does not indicate success: 401 (Unauthorized). [C:\Users\kirst\source\repos\BlazorApp1\BlazorApp1.sln]
I don't use Azure Devops on this project, but I do for another project, and that pipeline started failing today.
Why is the project trying to call devops?
The Publish profile is set to a folder