Skip to content

Conversation

@CalvinAllen
Copy link
Contributor

Summary

Preserves a project's location within solution folders when renaming.

Changes

  • Added SolutionFolderService with:
    • GetParentSolutionFolder - captures the solution folder containing a project
    • AddProjectToSolution - adds project to solution root or specific solution folder
  • Updated RenamifyProjectCommand to:
    • Capture parent solution folder before removal
    • Re-add project to the same solution folder after rename

Before this change

Projects in solution folders would be moved to the solution root after rename.

After this change

Projects stay in their original solution folder location.

Test plan

  • Rename a project at solution root - should stay at root
  • Rename a project inside a solution folder - should stay in that folder
  • Rename a project in a nested solution folder - should stay in nested folder

Closes #11

- Add SolutionFolderService to manage solution folder operations
- Capture parent solution folder before removing project
- Re-add project to the same solution folder after rename

Closes #11
@CalvinAllen CalvinAllen merged commit 18525fb into main Dec 20, 2025
1 check passed
@CalvinAllen CalvinAllen deleted the feat/solution/solution-folder-support branch December 20, 2025 16:46
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.

feat(solution): support projects inside solution folders

2 participants