↧
Answer by Alex Mullans for Azure Pipelines Hosted Agent Can't Access DevOps...
Use the dotnet task's restore command. If you're using a single Azure Artifacts feed, just select it from the dropdown in the task (instead of the PowerShell you mentioned). If multiple feeds (doesn't...
View ArticleAnswer by Daniel Mann for Azure Pipelines Hosted Agent Can't Access DevOps...
Use the built-in tasks for installing and running NuGet and you won't have authentication problems.
View ArticleAzure Pipelines Hosted Agent Can't Access DevOps project Feed
I have an Azure DevOps project (just one). I have a Build Pipeline set to run in the "Hosted VS2017" Agent Pool. This Agent Pool appears to be in the [MyProject]\Build Administrators, Contributors,...
View ArticleAnswer by iberodev for Azure Pipelines Hosted Agent Can't Access DevOps...
There is a better alternative imo. You can continue using your script to dotnet restore. Simply add a task just before that with NuGetAuthenticate@0steps: - task: NuGetAuthenticate@0 - script: dotnet...
View Article