Skip to content

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

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

jeffkl merged 5 commits into
mainfrom
solution-creator

Conversation

@jeffkl

@jeffkl jeffkl commented Oct 9, 2025

Copy link
Copy Markdown
Owner

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.

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