Skip to content

C# Add support for authenticated nuget feeds #21520

@robertcoltheart

Description

@robertcoltheart

Description of the issue

This is using advanced mode with build-mode: none to take advantage of the "no build" csharp analyzers.

When using authenticated nuget feeds with build-mode: none, CodeQL will try and restore the packages, however there are multiple errors within the logs indicating that the feed failed due to 401 errors:

[2026-03-20 02:10:31] [build-stdout] Checking if NuGet feed 'https://my-artifactory-feed' is reachable...
[2026-03-20 02:10:31] [build-stdout] Querying NuGet feed 'https://my-artifactory-feed' failed in a timely manner. Not considering the feed for use. The reason for the failure: Response status code does not indicate success: 401.

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions