Support for private registries defined in NuGet.config when looking up packages referenced in .cake files #33883
shenke-adsk
started this conversation in
Suggest an Idea
Replies: 1 comment
-
Unfortunately this is not in a form which can be converted to an issue. All relevant information needs to be included in the description above |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Tell us more.
In a .cake file, the addin directive is used to install and reference addins using NuGet. Renovate supports the private registries defined in the NuGet.config file when looking up packages referenced in .csproj files. However, it does not do the same for packages referenced in the addin directive in a .cake file.
Here is a test repository I created on github.com. I replaced the real company names and stuff to myawesomecompany. But this replicates the same issue I am experiencing on our hosted Renovate bot running on our internal GitHub Enterprise instance.
Here is the link to the job log. Clearly Renovate resolves packages in .csproj files file, but when it comes to packages referenced in .cake files, it does not look up in the private registry at all.
It would be nice if support for private registries defined in NuGet.config could be added.
Beta Was this translation helpful? Give feedback.
All reactions