dotnet / dotnet/msbuild

Item replacement from tasks

Open
#823 7 comments 2 reactions 0 assignees View on GitHub
Area: Language Feature Request needs-design triaged
Dominant language
C#
Stars
5.5k
Forks
1.5k
Avg merge
1d 13h
Merged PRs (30d)
133

Description

Currently using a task to replace all or some of set of existing items requires assigning to temporary items, removing, and re-adding:

``` xml



<_EmbeddedResourceWithLinkAssigned Remove="@(_EmbeddedResourceWithLinkAssigned)" />

```

A `Replace` option on the `Output` would simplify this and eliminate the temporary items:

``` xml

```

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.