mtherien / slntools

Solution Tools for Visual Studio - manages solution files
MIT License
28 stars 14 forks source link

Feature idea: auto-including related projects based on convention #15

Open jberezanski opened 4 years ago

jberezanski commented 4 years ago

In several projects I work on there are certain groups of projects, which are logically related but do not necessarily have references in msbuild sense. Example:

SomeProject
SomeProject.Tests
SomeProject.IntegrationTests
SomeProject.UiTests
SomeProject.Contracts

It would be useful if SLNTools could be configured to automatically include logical "child" projects based on naming conventions (so, in the above example, if I selected SomeProject in the slnfilter the filtered solution would contain all SomeProject.* projects).

SM4JL commented 2 years ago

If somebody will implement this, we have a similar need, just we want to exclude the projects. e.g. slnfilter to create subsolution without tests. I was thinking it might be useful to define a substring/wildcard/regex to described which projects to include or exclude in the filter based on this definition.