Skip to content

Commit 00bae19

Browse files
committed
Fixes #5504 - 15.8 Internal MSBuild Error
1 parent e4012ad commit 00bae19

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
@@ -3250,12 +3250,9 @@ internal virtual BuildSubmission DoMSBuildSubmission(BuildKind buildKind, string
32503250
this.SetHostObject("CoreCompile", "Fsc", this);
32513251

32523252
// Do the actual Build
3253-
var loggerList = new System.Collections.Generic.List<Microsoft.Build.Framework.ILogger>(this.buildEngine.Loggers);
3254-
if (buildLogger != null)
3255-
loggerList.Add(buildLogger);
3256-
if (myDebugLogger != null)
3257-
loggerList.Add(myDebugLogger);
3258-
3253+
var loggerList = new System.Collections.Generic.List<Microsoft.Build.Framework.ILogger>();
3254+
if (buildLogger != null) loggerList.Add(buildLogger);
3255+
if (myDebugLogger != null) loggerList.Add(myDebugLogger);
32593256
loggers = loggerList.ToArray();
32603257

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

0 commit comments

Comments
 (0)