dotnet/msbuild
GitHub で見るShow warning when referencing an Item as a Property or viceversa
Open
#348 opened on 2015年11月13日
User Experiencehelp wanted
Repository metrics
- Stars
- (5,062 stars)
- PR merge metrics
- (平均マージ 11d 7h) (30d で 125 merged PRs)
説明
If you have an item foo but you forget it's an item and you reference it as a property ($(foo)), then MSBuild will just evaluate it to an empty string. This adds to the time it takes to debug the build.
To make debugging easier, MSBuild should emit a warning: "You are referencing the item foo as a property".