Skip to content
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

DefaultConfig for nuget config file produces invalid config #65

Closed
timheuer opened this issue Apr 27, 2022 · 1 comment · Fixed by #66
Closed

DefaultConfig for nuget config file produces invalid config #65

timheuer opened this issue Apr 27, 2022 · 1 comment · Fixed by #66

Comments

@timheuer
Copy link
Contributor

internal const string DefaultConfig = @"<?xml version=""1.0""?>
<configuration>
<packageSources>
</packageSources>
</configuration>";

Is the default config for a nuget.config if not found in this provider code. It produces an invalid nuget.config (no sources) and can result in a machine not being able to do any restores for apps or other things relying on nuget going forward.

@zivkan
Copy link

zivkan commented Jun 23, 2022

FWIW, this appears to be affecting a bunch of Azure Pipelines and GitHub Actions customers: actions/runner-images#5768

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants