Closed AArnott closed 2 years ago
Yes, this has been fixed in newer versions of MSBuild.
For now I'd be curious if you re-run the build with -noconlog (to only have the BinaryLogger and no other loggers) - I expect this will show items on all evaluations.
The timeline of what happened is the following:
I'm guessing that the build of MSBuild that you're using is between the steps 2 and 3 of the timeline, so we detect the console logger and turn off the new behavior, so you still get the old-standing MSBuild bug where Items are only logged for the in-proc node.
Turning off the console logger should enable the new behavior (which correctly sends Items from all nodes).
This should be fixed in the newer SDKs. The last fixes we did that were related to this were:
https://github.com/dotnet/sdk/pull/23834 https://github.com/dotnet/sdk/pull/23249
When those are in, all should work as expected.
After building a multi-targeting project, I see that only the first inner build has msbuild evaluation items presented. Log here
The outer build has items:
The first inner build has items:
But the second (and third) inner builds do not have items: