microsoft / microsoft/vs-solutionpersistence

Feature Request: Add Globbing Pattern Support for Files in .slnx

Open
#61 28 comments 180 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C#
Stars
213
Forks
14
PR merge metrics
No merged PRs in 30d

Description

Feature Request: Add Globbing Pattern Support for Files in .slnx

I'd like to suggest adding support for globbing patterns in .slnx files, similar to how it's done in .csproj using the Microsoft.Build.Globbing package. This would make managing large solutions simpler, especially when adding multiple files.

For example:

<File Path="test\**\*.cs" />

This would help dynamically include files without needing to list each one individually, streamlining file management.

For more context, please refer to the Microsoft documentation on file globbing.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by tracing how .slnx File elements are parsed and compared with .csproj globbing through Microsoft.Build.Globbing. Review the linked Microsoft file-globbing documentation and existing solution-persistence tests, if present. Done means a pattern such as test***.cs expands to the intended files without requiring individual entries.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
build-system, tooling
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.