Skip to content

Put every project in the solution folder its directory names - #120

Merged
marcosqlbi merged 1 commit into
mainfrom
feature/solution-folders
Sep 8, 2026
Merged

Put every project in the solution folder its directory names#120
marcosqlbi merged 1 commit into
mainfrom
feature/solution-folders

Conversation

@marcosqlbi

Copy link
Copy Markdown
Collaborator

Eight of the ten projects sat at the root of the solution while Export and SmokeTests
sat in an src and a tests folder. That looked like a choice and was not: dotnet sln add mirrors a project's directory into solution folders unless it is given --in-root,
so the two most recently added projects grew folders and the rest did not. Left alone it
would have drifted again with the next project.

Mirroring the whole repository settles it in the direction the tool already pulls. src,
tests and prototypes now hold what those directories hold, so the solution reads like
the checkout and a project added later lands in the right place without anyone having to
remember a flag. The alternative — flattening it — needs that flag remembered forever,
which is why it was not taken.

Solution folders are a Visual Studio view and nothing else reads them. The build takes the
same ten projects, in the same configurations, with the same identifiers; only the
NestedProjects section and one new folder entry change.

🤖 Generated with Claude Code

Eight of the ten projects sat at the root of the solution while Export and
SmokeTests sat in an "src" and a "tests" folder, which looked like a choice and
was not: dotnet sln add mirrors a project's directory into solution folders
unless it is given --in-root, so the two most recently added projects grew
folders and the rest did not.

Mirroring the whole repository settles it in the direction the tool already
pulls. src, tests and prototypes now hold what those directories hold, so the
solution reads like the checkout and the next project added lands in the right
place without anyone remembering a flag.

Solution folders are a Visual Studio view and nothing else reads them: the build
takes the same ten projects, in the same configurations, with the same
identifiers.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
@marcosqlbi
marcosqlbi merged commit 1a505d4 into main Sep 8, 2026
5 checks passed
@marcosqlbi
marcosqlbi deleted the feature/solution-folders branch September 8, 2026 21:48
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.

1 participant