Skip to content

Research nuget v3 dependency resolution #1836

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

Closed
wants to merge 16 commits into from

Conversation

alerickson
Copy link
Member

@alerickson alerickson commented Jun 18, 2025

PR Summary

Opening this PR to run CI tests for #1778

Note: There is one test that is failing due to a bug that is being tracked here: #1837. The test is temporarily commented out.

PR Context

PR Checklist

@alerickson
Copy link
Member Author

/azp run

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@alerickson alerickson mentioned this pull request Jun 18, 2025
14 tasks
@alerickson
Copy link
Member Author

/azp run

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@alerickson
Copy link
Member Author

/azp run

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@alerickson
Copy link
Member Author

/azp run

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@alerickson
Copy link
Member Author

/azp run

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@alerickson
Copy link
Member Author

/azp run

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@alerickson
Copy link
Member Author

/azp run

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@alerickson
Copy link
Member Author

/azp run

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

{
List<Dependency> pkgDeps = new();

if (dependencyGroupsElement.ValueKind == JsonValueKind.Array)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we need a else if (tagsElement.ValueKind == JsonValueKind.String)

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think so-- according to https://learn.microsoft.com/en-us/nuget/api/registration-base-url-resource#catalog-entry and https://learn.microsoft.com/en-us/nuget/api/registration-base-url-resource#package-dependency-group both dependencyGroups and dependencies should be an array of objects. Under the first link tags is allowed to be a string or an array.

@alerickson alerickson closed this Jun 24, 2025
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 this pull request may close these issues.

3 participants