Skip to content

C#: Improve BMN feed checking & handling.#21684

Draft
michaelnebel wants to merge 16 commits intogithub:mainfrom
michaelnebel:csharp/improve-reachability-checks
Draft

C#: Improve BMN feed checking & handling.#21684
michaelnebel wants to merge 16 commits intogithub:mainfrom
michaelnebel:csharp/improve-reachability-checks

Conversation

@michaelnebel
Copy link
Copy Markdown
Contributor

@michaelnebel michaelnebel commented Apr 9, 2026

In this PR we make some improvements to the C# NuGet feed check and use of private registries.

The primary change in this PR, is that

  1. Explicitly provide a list of sources for dotnet restore (both for projects and solutions) which overrides the use of nuget.config files (unless nuget feed reachability check is disabled and no private registries are configured).
  2. In case private registries are configured, we always provide a specific list of feeds to dotnet restore to make sure that we include the private registries. This list now includes all feeds or reachable feeds as well (depending on whether we check nuget feed reachability).

@github-actions github-actions bot added the C# label Apr 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants