Skip to content

Add command for converting multiple solutions to solution filters #49

@BalassaMarton

Description

@BalassaMarton

This would be useful when converting a multi-solution repo to a single-solution monorepo with solution filters.

Command syntax

please create solution filters --from <ExistingSolutions> --target <TargetSolution>

ExistingSolutions is a globbing pattern that selects the existing .sln files from the current working directory.
TargetSolution is a .sln file name.

Expected behavior

  • If TargetSolution does not exist, create it.
  • Then, for each .sln file in ExistingSolutions as sln:
    • Add the projects from sln to TargetSolution under a solution directory generated from the name of sln
    • Create a solution filter from sln that uses TargetSolution as the base
    • Delete sln

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions