You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
When a user has a NuGet.config with a source in it and also provides that same source URL from the commandline via the --add-source CLI option, our usage of the NuGet APIs treats that as 2 distinct sources. If that source requires authentication, then that authentication only applies to one of the sources (often the one from the NuGet.config). This leads to hard-to-diagnose failures when the duplicate source is used for the tool installation.
Describe the solution you'd like
Tool install (and possibly any other command that supports the --add-source semantic) should deduplicate the sources used for the install based on the URL.
The text was updated successfully, but these errors were encountered:
@nkolev92@zivkan Any thoughts on this? A feed might be configured differently in NuGet.config than it would be with --add-source, so I'm not sure what the correct de-duping behavior would be.
Is your feature request related to a problem? Please describe.
When a user has a NuGet.config with a source in it and also provides that same source URL from the commandline via the
--add-source
CLI option, our usage of the NuGet APIs treats that as 2 distinct sources. If that source requires authentication, then that authentication only applies to one of the sources (often the one from the NuGet.config). This leads to hard-to-diagnose failures when the duplicate source is used for the tool installation.Describe the solution you'd like
Tool install (and possibly any other command that supports the
--add-source
semantic) should deduplicate the sources used for the install based on the URL.The text was updated successfully, but these errors were encountered: