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

Pass legacy root node ProjectTreeFlags #9123

Merged
merged 2 commits into from
Jun 26, 2023

Conversation

drewnoakes
Copy link
Member

@drewnoakes drewnoakes commented Jun 26, 2023

This fixes a regression from the dependency tree rewrite in #9008.

Implementations of the legacy extension point IProjectDependenciesSubTreeProvider.CreateRootDependencyNode() return an IDependencyModel holding various values to be applied to the group's node. One such value is IDependencyModel.Flags which should be applied to the group node. This change fixes that.

Microsoft Reviewers: Open in CodeFlow

This fixes a regression from the dependency tree rewrite. Implementations of the legacy extension point `IProjectDependenciesSubTreeProvider.CreateRootDependencyNode` return an `IDependencyModel` holding various values to be applied to the group's node. One such value is `IDependencyModel.Flags` which should be applied to the group node. This change fixes that.
@drewnoakes drewnoakes added the Feature-Dependency-Node "Dependencies" node in Solution Explorer that display project, binary & package references label Jun 26, 2023
@drewnoakes drewnoakes added this to the 17.7 milestone Jun 26, 2023
@drewnoakes drewnoakes requested a review from a team as a code owner June 26, 2023 04:55
@drewnoakes
Copy link
Member Author

Web projects showing NPM packages are the most common use case for this extension point. Thanks to Pranav Senthilnathan for reporting this issue.

@drewnoakes drewnoakes merged commit 29fd34a into dotnet:main Jun 26, 2023
@drewnoakes drewnoakes deleted the legacy-dependency-root-node-flags branch June 26, 2023 22:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature-Dependency-Node "Dependencies" node in Solution Explorer that display project, binary & package references
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants