dotnet / dotnet/sdk

Add tests for private NuGet feeds in package tab-completion

Open
#42,776 2 comments 0 reactions 0 assignees View on GitHub
Area-CLI cli-ux untriaged
Dominant language
C#
Stars
3.2k
Forks
1.3k
PR merge metrics
PR metrics pending

Description

Per @zivkan, there's some additional setup we need to do to configure direct use of feeds like we do in the completion scenarios for 'dotnet add package'. His comments below:

>Was this tested with a private Azure DevOps feed?
>
>By default, apps using NuGet.Protocol, `SourceRepository` will not look for credential providers. A static method needs to be called, and then `SourceRepository` will search for credential providers when it makes requests on feeds that need authentication. Unfortunately, I can't remember the name of the API, so I can't quickly search the code to see if it's being called. But if testing showed that private Azure Artifacts feeds don't work, let me know and I'll look it up.

_Originally posted by @zivkan in https://github.com/dotnet/sdk/pull/42349#issuecomment-2292422914_

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.