Skip to content

Commit

Permalink
Fixes dotnet#5504 - 15.8 Internal MSBuild Error (dotnet#5557)
Browse files Browse the repository at this point in the history
  • Loading branch information
KevinRansom committed Sep 6, 2018
1 parent dbc718c commit bfbe7ed
Showing 1 changed file with 3 additions and 6 deletions.
Expand Up @@ -3235,12 +3235,9 @@ internal virtual BuildSubmission DoMSBuildSubmission(BuildKind buildKind, string
this.SetHostObject("CoreCompile", "Fsc", this);

// Do the actual Build
var loggerList = new System.Collections.Generic.List<Microsoft.Build.Framework.ILogger>(this.buildEngine.Loggers);
if (buildLogger != null)
loggerList.Add(buildLogger);
if (myDebugLogger != null)
loggerList.Add(myDebugLogger);

var loggerList = new System.Collections.Generic.List<Microsoft.Build.Framework.ILogger>();
if (buildLogger != null) loggerList.Add(buildLogger);
if (myDebugLogger != null) loggerList.Add(myDebugLogger);
loggers = loggerList.ToArray();

var ba = new BuildAccessorAccess(buildKind, accessor);
Expand Down

0 comments on commit bfbe7ed

Please sign in to comment.