KirillOsenkov / MSBuildStructuredLog

A logger for MSBuild that records a structured representation of executed targets, tasks, property and item values.
MIT License
1.41k stars 188 forks source link

Add a message when MSBuild task or target skip due to condition evalu… #769

Closed yuehuang010 closed 2 months ago

yuehuang010 commented 3 months ago

Add a message explaining why the Condition evaluated to false. This parses evaluate the condition from the build message and prints which statement in the condition is false.

image
KirillOsenkov commented 3 months ago

I've been wanting to fix this in https://github.com/KirillOsenkov/MSBuildStructuredLog/issues/389

KirillOsenkov commented 3 months ago

looks very cool!

yuehuang010 commented 3 months ago

Only had to wait four years.

On Tue, Apr 2, 2024 at 2:21 PM Kirill Osenkov @.***> wrote:

looks very cool!

— Reply to this email directly, view it on GitHub https://github.com/KirillOsenkov/MSBuildStructuredLog/pull/769#issuecomment-2033121214, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEXI5GPDYXVS66LA2452JH3Y3MOPBAVCNFSM6AAAAABFUBWOG6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMZTGEZDCMRRGQ . You are receiving this because you authored the thread.Message ID: @.***>