Binlog Viewer Not Displaying Warnings
See original GitHub issueContext
We recently added a feature in MSBuild called Change Waves. The basic idea behind the feature is to set MSBuildDisableFeaturesFromVersion
to some MSBuild version, and that would disable a set of features behind that version (and all future versions). The current versions are 16.8
, 16.10
, and 17.0
. The issue starts here: If a user sets MSBuildDisableFeaturesFromVersion
to several types of invalid versions (like a garbage value) it throws a warning. Here is the source for where this warning is thrown.
The problem is that this warning is shown in the output of a build (VS and cmd line), but it doesn’t show up in the viewer. If you replay the binlog with diagnostic logging, you can see the warning in the generated msbuild.log
@rainersigwald and I have observed that it gets picked up in the viewer’s WarningRaised
function, but isn’t drawn for some reason.
See attached binlog. msbuild.zip
Issue Analytics
- State:
- Created 3 years ago
- Comments:5 (5 by maintainers)
Code review please: https://github.com/KirillOsenkov/MSBuildStructuredLog/commit/61cd163a9c369d7184bad31a9230794b0c8d66b4
LGTM, thanks for the quick fix!