From 247c146f54b7f8fb769ce55d7c7b94e1396975de Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mariana=20Dematt=C3=A9?= Date: Tue, 23 Apr 2024 17:05:04 +0200 Subject: [PATCH] Added eventSource to BuildCheck logger --- .../BuildCheck/Infrastructure/BuildCheckConnectorLogger.cs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/Build/BuildCheck/Infrastructure/BuildCheckConnectorLogger.cs b/src/Build/BuildCheck/Infrastructure/BuildCheckConnectorLogger.cs index 9be71d2a288..2b354d8fab5 100644 --- a/src/Build/BuildCheck/Infrastructure/BuildCheckConnectorLogger.cs +++ b/src/Build/BuildCheck/Infrastructure/BuildCheckConnectorLogger.cs @@ -22,6 +22,11 @@ public void Initialize(IEventSource eventSource) { eventSource.AnyEventRaised += EventSource_AnyEventRaised; eventSource.BuildFinished += EventSource_BuildFinished; + + if (eventSource is IEventSource4 eventSource4) + { + eventSource4.IncludeEvaluationPropertiesAndItems(); + } } private void EventSource_AnyEventRaised(object sender, BuildEventArgs e)