Skip to content

feat: auto-detect the solution root instead of trusting the wire parameter - #102

Open
zekelinAlex wants to merge 1 commit into
users/alexander.zekelin/applier-pp-flowfrom
users/alexander.zekelin/solution-root-locator
Open

zekelinAlex wants to merge 1 commit into
users/alexander.zekelin/applier-pp-flowfrom
users/alexander.zekelin/solution-root-locator

Conversation

@zekelinAlex

Copy link
Copy Markdown
Contributor

Ports the concept of tools-devkit-templates#127 into the library as one more helper: SolutionRootLocator resolves the unpacked solution root from the working directory - Other/Solution.xml at the base itself, the csproj SolutionRootPath property, or a unique nested Other/Solution.xml.

The dispatcher now treats the wire solution-root value as a hint at best: an existing directory is honored (programmatic callers, tests), anything else triggers detection. Templates and the CLI don't have to pass a real path anymore - the option is already gone from apply-scaffold. Stacked on the flow applier PR.

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