-
Notifications
You must be signed in to change notification settings - Fork 124
NuGet.Config with private sources is not using #1035
Comments
So, I moved NuGet.Config to the root of repository. Now it's using sources, but throw an error when trying to authenticate it (I use private sources).
|
Yes, since version 3.4 (?) of nuget cli demands that the NuGet.config is at the root of the repository, you can read more about this here. You can use credentials in nuget.config or credential providers, maybe the following links can help you:
I'm not sure how this works with multiple sources, I haven't had to configure something like this myself. |
NuGet 3.4 requires NuGet.config in the solution root, which can be different from repository root in for example repositories with multiple solutions. For example I have the following structure:
How can I instruct NuKeeper to work from the
Update Running with the
Most of those 51 packages are outdated. The <?xml version="1.0" encoding="utf-8"?>
<configuration>
<packageSources>
<add key="XXX" value="https://pkgs.dev.azure.com/XXX/_packaging/XXX/nuget/v3/index.json" />
</packageSources>
</configuration> However after writing a custom NuGet.config as part of the build and referencing it directly, the output is the same (0 updates): <?xml version="1.0" encoding="utf-8"?>
<configuration>
<packageSources>
<clear />
<add key="NuGet" value="https://api.nuget.org/v3/index.json" />
<add key="XXX" value="https://pkgs.dev.azure.com/XXX/_packaging/XXX/nuget/v3/index.json" />
</packageSources>
</configuration>
|
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
… |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
I’d like to keep this issue open. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
I’d like to keep this issue open. |
Hi.
I'm trying to use version 0.33.0 and can not work with private sources.
Sources are added but not in use (see below). Is this mine configuration problem or bug?
The text was updated successfully, but these errors were encountered: