-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Sdk resolver does not honor --configfile; and fails silently #17319
Comments
I couldn't figure out the best area label to add to this issue. If you have write-permissions please help me learn by adding exactly one area label. |
@rainersigwald Heya, this is the issue we were discussing the other day about config files. |
From that conversation I think the ask here is: do something in the The compat impact of mapping |
@aaronla-ms |
@aaronla-ms |
@erdembayar Sure thing. I copied the issue over to that project. |
@aaronla-ms |
reopened as NuGet/Home#10886 |
When performing
dotnet restore
using the --configfile argument, the nuget Sdk resolver does not honor the --configfile setting.This results in two problems:
This issue is tracking the first problem.
Repro steps
dotnet restore --configfile custom_nuget.config && dotnet build --no-restore
Expected
Project restores and builds successfully, producing no output
Actual
Project fails to restore, silently exiting with exit code zero and no console output. The subsequent build then fails with the following errors:
Reference files
The text was updated successfully, but these errors were encountered: