dotnet / dotnet/msbuild

[Feature request]: Theres no nice way to Remove items in subdirs using MatchOnMetadata

Open
#8,592 12 comments 0 reactions 0 assignees View on GitHub
backlog bug gathering-feedback triaged
Dominant language
C#
Stars
5.5k
Forks
1.5k
Avg merge
1d 8h
Merged PRs (30d)
141

Description

### Issue Description

Given something like:

```






```

It would be great to have a `MatchOnMetadataOptions` matching items in subdirs, theres already matching options for paths.
AFAICT theres no really nice way of doing this today, moving to a Target could work but theres nothing real to depend on before evaluation phase, so its not working nicely with the VS project system.

### Steps to Reproduce

Add MatchOnMetadataOptions for subdirs

### Expected Behavior

Be able to remove items on matching subdir paths

### Actual Behavior

Nothing possible

### Analysis

_No response_

### Versions & Configurations

_No response_

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.