[BuildCheck Suggestion]: Item Glob matching nothing
- Dominant language
- C#
- Stars
- 5.5k
- Forks
- 1.5k
- Avg merge
- 1d 13h
- Merged PRs (30d)
- 133
Description
### Summary
Check cases and write a suggestion to escape when there is a `*` or `?` symbol in an item `` when the file matching logic matches nothing or returns it as a string.
### Background and Motivation
https://learn.microsoft.com/visualstudio/msbuild/msbuild-special-characters some characters are special in some contexts and it'd be desirable to check when their interpretation runs into edge cases to encourage developers to escape correctly.
### Sample issue or antipattern that the check should be flagging
https://github.com/dotnet/msbuild/issues/10715
### Sample output
"Item on line X, `` was interpreted as a file glob that matched nothing, if you meant it to be a string, escape special characters according to https://learn.microsoft.com/visualstudio/msbuild/msbuild-special-characters?view=vs-2022"
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.