-
Notifications
You must be signed in to change notification settings - Fork 392
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix broken analyzer child nodes in Solution Explorer
In 17.2, CPS made a change to how paths are used for non-file items in the tree. These changes improve the performance of searching the dependency tree by path, as the pseudo-id used for items not having paths allows a fast lookup. That change broke the ability for Roslyn to determine the correct file path for analyzer nodes (via CanonicalName), which then broke the ability to attach child nodes to the analyzer in Solution Explorer (for example, to show source generators and the files they create). In this commit, we add the FileSystemEntity flag to analyzer nodes. This causes CPS to preserve the full path provided on the IProjectTree, which restores the CanonicalName for Roslyn.
- Loading branch information
1 parent
5452635
commit 740ad1a
Showing
2 changed files
with
14 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters