Why 'dotnet list package' check packages in all sources when package source mapping is enabled? #13688
Unanswered
mikolajpiecuch
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi, I observe some strange behaviour as follows. I've configured a package source mapping for my repo (defined in Nuget.config in repo root). I use nuget.org with a pattern of "*" and my private repo with a pattern of "MyName.*". While restoring, nugets are fetched correctly from these two sources. Unfortunately, when I call 'dotnet list package', it seems to call all my sources for all packages - e.g. GET request for Microsoft.* packages is sent to my private nuget registry. Why doesn't 'dotnet list package' take Nuget.config into account?
Beta Was this translation helpful? Give feedback.
All reactions