dotnet/msbuild
Ver no GitHubShow warning when referencing an Item as a Property or viceversa
Open
#348 aberto em 13 de nov. de 2015
User Experiencehelp wanted
Métricas do repositório
- Stars
- (5.062 stars)
- Métricas de merge de PR
- (Mesclagem média 11d 7h) (125 fundiu PRs em 30d)
Description
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".