dotnet / dotnet/msbuild

WithMetadataValue does not accept batching argument

Open
#7,675 1 comment 1 reaction 0 assignees View on GitHub
Area: Language bug triaged
Dominant language
C#
Stars
5.5k
Forks
1.5k
Avg merge
1d 6h
Merged PRs (30d)
139

Description

### Issue Description
WithMetadataValue item function does not return anything when parameter is from batch

### Steps to Reproduce
```xml










```
### Expected Behavior
Two warnings with matching ItemA in each:
```
warning : * 1.txt
warning : * 3.txt
```
### Actual Behavior
Two empty warnings:
```
warning : *
warning : *
```

### Analysis
In most case there is a way to workaround the issue using few temporary ItemGroups and different way of batching.

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.