dotnet / dotnet/msbuild

Consider logging reading a property that was not defined

Open
#5,295 1 comment 0 reactions 0 assignees View on GitHub
Area: Debuggability needs-design triaged
Dominant language
C#
Stars
5.5k
Forks
1.5k
Avg merge
1d 8h
Merged PRs (30d)
141

Description

I mistyped a property name and MSBuild silently returned an empty string. There was no mention of the mistyped property name anywhere in the log.

Should we consider logging a message when a property that wasn't defined anywhere is read?

Some of these would be legit, people often leave escape hatches without any definitions, so adding a warning will break all those places. But I'm thinking a message? Would it be too noisy?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.