-
Notifications
You must be signed in to change notification settings - Fork 1
Description
I'm having a special scenario, which leads to an error during publish. I use a central gitlab project as a package registry, lets call it "registry project". I have a project A, that depends on a nuget Package that is in the "registry project". So for building the project, I need a nuget.config, that contains the package source "https://gitlab.com/api/v4/projects//packages/nuget/index.json".
It's the same url, that is needed for pushing project A to the project. Now the dotnet nuget add source command failes because of a conflict: error: The source specified has already been added to the list of available package sources. Provide a unique source.. I did not find a way to hack my way around it.
Could you make the dotnet nuget add source command optional? This would allow me to control the nuget.config myself. Alternatively, allow the add source command to fail if that error message appears (but feels a bit magic to me)
Could I support you in any way? Thank you already for all your work you put into this