dotnet / dotnet/msbuild

Properties and items logged at evaluation with legacy loggers for single-process builds

Open
#7,219 4 comments 0 reactions 0 assignees View on GitHub
Area: Debuggability Area: Logging For consideration triaged
Dominant language
C#
Stars
5.5k
Forks
1.5k
Avg merge
1d 8h
Merged PRs (30d)
141

Description

We have an unexpected behavior for single-process builds (/bl), where if there are legacy loggers that haven't opted in via `IEventSource4.IncludeEvaluationPropertiesAndItems()`, and the environment variable `MSBUILDLOGPROPERTIESANDITEMSAFTEREVALUATION` is not set, we still enable the new behavior if there is at least one "enlightened" logger.

See test results here:
https://github.com/dotnet/msbuild/pull/7217#issuecomment-1005345899

See related:
* https://github.com/dotnet/msbuild/pull/6520
* https://github.com/dotnet/msbuild/issues/6498

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.