Skip to content

fix(tools): enumerate projects recursively through solution folders#48

Merged
CalvinAllen merged 1 commit intomainfrom
fix/projects/recursive-enumeration
Mar 24, 2026
Merged

fix(tools): enumerate projects recursively through solution folders#48
CalvinAllen merged 1 commit intomainfrom
fix/projects/recursive-enumeration

Conversation

@CalvinAllen
Copy link
Contributor

Summary

  • Fixes project_list tool to recursively enumerate projects nested inside solution folders
  • Previously, only top-level items were returned from dte.Solution.Projects, so projects grouped in solution folders were missing
  • Adds a CollectProjects helper that detects solution folders by their ProjectKind GUID and walks their ProjectItems to find nested projects

Closes #44

Test plan

  • Open a solution with projects grouped in solution folders
  • Run project_list and verify all nested projects are returned
  • Open a flat solution (no folders) and verify project_list still works correctly
  • Open a solution with deeply nested folders (folders within folders) and verify all projects are found

@CalvinAllen CalvinAllen merged commit a8d9beb into main Mar 24, 2026
2 checks passed
@CalvinAllen CalvinAllen deleted the fix/projects/recursive-enumeration branch March 24, 2026 14:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

Project list not done recursively

1 participant