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

Initial docs about proposed dependency tree extensibility #9048

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

drewnoakes
Copy link
Member

@drewnoakes drewnoakes commented May 29, 2023

This documentation discusses APIs added in 17.7 which are currently internal but which are proposed as the new public extensibility APIs.

Also documents the correct implementation of DependencyTreeRemovalActionHandlers, which are not new but were not previously documented.

Microsoft Reviewers: Open in CodeFlow

This documentation discusses APIs added in 17.7 which are currently internal but which are proposed as the new public extensibility APIs.
@drewnoakes drewnoakes added Feature-Dependency-Node "Dependencies" node in Solution Explorer that display project, binary & package references Documentation labels May 29, 2023
@drewnoakes drewnoakes requested a review from a team as a code owner May 29, 2023 06:58

## Handling removal of a dependency

To handle removal of the "Remove" command on a dependency in the tree, export an implementation of `IProjectTreeActionHandler`. This contract exists in `UnconfiguredProject` scope, so you can import unconfigure project MEF parts if needed.
Copy link
Member Author

Choose a reason for hiding this comment

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

Should highlight that this mechanism only applies to top-level dependencies, not transitive ones.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Documentation 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