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

Parse packages.config as XML for C# #4408

Merged
merged 2 commits into from
Aug 12, 2024
Merged

Conversation

timtebeek
Copy link
Contributor

@timtebeek timtebeek commented Aug 12, 2024

https://learn.microsoft.com/en-us/nuget/consume-packages/package-references-in-project-files
https://learn.microsoft.com/en-us/nuget/reference/packages-config

Alternatively we could have picked these up from PlainText and parsed them as XML there, but that just seems needless extra steps.

There's a small risk of any non-XML packages.config files being picked up. I'd say that's unlikely and tolerable.

@timtebeek timtebeek self-assigned this Aug 12, 2024
@timtebeek timtebeek merged commit 10cf25d into main Aug 12, 2024
2 checks passed
@timtebeek timtebeek deleted the parse-packages.config-as-xml branch August 12, 2024 21:04
timtebeek added a commit that referenced this pull request Aug 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

2 participants