How to use a different nuget sources/feeds for Debug configuration and Release configuration?
USE CASE / CONTEXT
A company publishes Debug and Release binaries for the same source code to configuration-specific nuget feeds, and I need to use these internal nugets as dependency for another 2 separate configuration-specific builds. I intend to use this nuget dependency system only with C# projects.
My first idea was to declare configuration-specific nuget sources in the nuget.config file, but I failed doing so.
It is also quite complicated for me to modify every project file on every single branch to accomplish this challenge, since there are thousands of projects organized ('disorganized') into several directories in the company's repository.
Are there also any good suggestions on how to exactly deal with this real-life problem?