dotnet / dotnet/sdk

*.slnx files not supporting File wildcards

Open
#53,534 2 comments 14 reactions 1 assignee Claimed by @baronfel View on GitHub
untriaged
Dominant language
C#
Stars
3.2k
Forks
1.3k
PR merge metrics
PR metrics pending

Description

### ❓ Is your feature request related to a problem?

Currently, solution files require explicitly listing each individual file. This becomes tedious and hard to maintain, especially when working with directories containing many files or frequently changing content.

For example, instead of being able to use a wildcard pattern like:

```xml



```

instead of
```xml




```

### 💡 Describe the solution you'd like

Add support for wildcard patterns (e.g., *.md) in the File path within solution files. This would allow developers to include multiple files dynamically without listing each one explicitly.

This feature would:

* Reduce manual effort
* Improve maintainability
* Make solution definitions more flexible and concise

#### Alternatives considered

It is possible to add a csproj to the solution that points to the files as a workaround:

```xml



```

Please see the following screenshot:
Image

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.