dotnet/msbuild

Show warning when referencing an Item as a Property or viceversa

Open

#348 创建于 2015年11月13日

在 GitHub 查看
 (4 评论) (0 反应) (0 负责人)C# (1,364 fork)batch import
User Experiencehelp wanted

仓库指标

Star
 (5,062 star)
PR 合并指标
 (平均合并 11天 7小时) (30 天内合并 125 个 PR)

描述

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".

贡献者指南