Syntactic sugar for importing files if they exist
Open
Area: Language
Feature - Project File Cleanup
needs-design
triaged
- Dominant language
- C#
- Stars
- 5.5k
- Forks
- 1.5k
- Avg merge
- 1d 13h
- Merged PRs (30d)
- 133
Description
A common pattern in MSBuild is to import targets files only if they exist.
``` xml
```
It could be made more readable by adding explicit support for this pattern via a `ImportIfExists` element, which would make intent clearer and reduce duplication:
``` xml
`
```
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.