Skip to content

Initial implemenation of a fluent API for generating Visual Studio solutions#341

Merged
jeffkl merged 5 commits intomainfrom
solution-creator
Oct 9, 2025
Merged

Initial implemenation of a fluent API for generating Visual Studio solutions#341
jeffkl merged 5 commits intomainfrom
solution-creator

Conversation

@jeffkl
Copy link
Owner

@jeffkl jeffkl commented Oct 9, 2025

Fixes #47

This uses the new https://github.com/microsoft/vs-solutionpersistence library which handles both .sln and .slnx.

This adds support for fluent calls like

ProjectCreator project1 = ProjectCreator.Templates.SdkCsproj(path: Path.Combine("project1", "project1.csproj"));

SolutionCreator.Templates.DotNet(Path.Combine("solution1.sln"))
    .Project(project1)
    .Save();

Solutions are saved automatically for build and all projects are also saved since they need to be on disk.

@jeffkl jeffkl merged commit 3397294 into main Oct 9, 2025
3 checks passed
@jeffkl jeffkl deleted the solution-creator branch October 9, 2025 21:57
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.

Question: generate solutions?

1 participant