Remove item from glob by full path does not work
- Dominant language
- C#
- Stars
- 5.5k
- Forks
- 1.5k
- Avg merge
- 1d 8h
- Merged PRs (30d)
- 141
Description
### Issue Description
If an item is specified by full path in `remove` element it won't' be delete. Is it intended behavior?
I have found several `remove` tags which does not do anything because of this issue in .NET SDK. Example: `ResolveProjectStaticWebAssets` in `Microsoft.NET.Sdk.Razor.StaticWebAssets.targets`.
### Steps to Reproduce
Lets take a look on the next project:
```
```
Assume we have included `Class1.cs` and `Class2.cs`. This target removes `Class1.cs`, but does not remove `Class2.cs` because `remote` is a full path to the item.
### Expected Behavior
`Class1.cs` and `Class2.cs` are removed
### Actual Behavior
Only `Class1.cs` is removed
### Analysis
_No response_
### Versions & Configurations
_No response_
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.