-
Notifications
You must be signed in to change notification settings - Fork 251
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to use Authenticated sources with Central Package Management #13235
Comments
@thompson-tomo However, looking at your config, your configs are not configured correctly. See: https://learn.microsoft.com/en-us/nuget/reference/nuget-config-file#packagesourcecredentials NuGet doesn't know that SKIDATANuget has credentials for InternalNexus. |
Thanks @nkolev92 that was my mistake as when I was attempting to obfuscate my employer name/details etc i missed the credentials part. My config is valid as it works prior to enabling central packagement. |
CPM without transitive pinning is largely syntactic that doesn't really affect the core of restore. I took your option #1 as an attempt at a repro, but I'm not really seeing a problem there. |
Apologies @nkolev92 I did manage to pinpoint the issue with it being connected to my nuget.config. Will close issue. |
NuGet Product Used
MSBuild.exe
Product Version
17.8.3+195e7f5a3 for .NET
Worked before?
No response
Impact
I'm unable to use this version
Repro Steps & Context
Reproduction
Option 1
Option 2:
Config file
%NEXUS_USERNAME% and %NEXUS_PASSWOR% are both CI/CD variables and even tested with explicitly setting the password in the nuget.config but same result. I am able to login to the nuget from my pc using the credientials and everything works fine when not using central package management.
Verbose Logs
The text was updated successfully, but these errors were encountered: