Skip to content

Fix dnx not authenticating for private feeds#53322

Open
robertcoltheart wants to merge 2 commits intodotnet:release/10.0.3xxfrom
robertcoltheart:bug/fix-dnx-with-private-feed
Open

Fix dnx not authenticating for private feeds#53322
robertcoltheart wants to merge 2 commits intodotnet:release/10.0.3xxfrom
robertcoltheart:bug/fix-dnx-with-private-feed

Conversation

@robertcoltheart
Copy link

@robertcoltheart robertcoltheart commented Mar 8, 2026

Fixes #51375

For dnx execution (dotnet tool exec), if the package source is authenticated the previous method of passing an override source meant that the credentials are lost, since this is the equivalient of passing --source https://mysource and ignoring any config in NuGet.config. We need to pass the explicit source for dnx because we confirm with the user that we will be downloading from a particular source (which may be authenticated).

@robertcoltheart
Copy link
Author

@baronfel @marcpopMSFT This is ready for review now

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant