Skip to content

Commit 55a3dc3

Browse files
authored
Merge pull request #5597 from KevinRansom/cp5504
CherryPick into dev15.8 (Fixes #5504 - 15.8 Internal MSBuild Error (#5557))
2 parents 78654a1 + 07c50ae commit 55a3dc3

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

vsintegration/src/FSharp.ProjectSystem.Base/Project/ProjectNode.cs

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3235,12 +3235,9 @@ internal virtual BuildSubmission DoMSBuildSubmission(BuildKind buildKind, string
32353235
this.SetHostObject("CoreCompile", "Fsc", this);
32363236

32373237
// Do the actual Build
3238-
var loggerList = new System.Collections.Generic.List<Microsoft.Build.Framework.ILogger>(this.buildEngine.Loggers);
3239-
if (buildLogger != null)
3240-
loggerList.Add(buildLogger);
3241-
if (myDebugLogger != null)
3242-
loggerList.Add(myDebugLogger);
3243-
3238+
var loggerList = new System.Collections.Generic.List<Microsoft.Build.Framework.ILogger>();
3239+
if (buildLogger != null) loggerList.Add(buildLogger);
3240+
if (myDebugLogger != null) loggerList.Add(myDebugLogger);
32443241
loggers = loggerList.ToArray();
32453242

32463243
var ba = new BuildAccessorAccess(buildKind, accessor);

0 commit comments

Comments
 (0)