Skip to content

Commit

Permalink
Merge pull request dotnet#20090 from Pilchie/Fix19407-ForceLoadLSL
Browse files Browse the repository at this point in the history
Force load projects that failed design time builds, not ones that opt out of LSL
  • Loading branch information
Pilchie authored Jun 9, 2017
2 parents 13de789 + d72604d commit b663584
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -636,7 +636,7 @@ private void ForceLoadProjectsWhoseDesignTimeBuildFailed(IReadOnlyDictionary<str
var start = DateTimeOffset.UtcNow;
var solution4 = (IVsSolution4)_vsSolution;
var solution7 = (IVsSolution7)_vsSolution;
var projectInfosOfProjectsThatFailed = projectInfos.Where(pi => DesignTimeBuildFailed(pi.Value) && !solution7.IsDeferredProjectLoadAllowed(pi.Key));
var projectInfosOfProjectsThatFailed = projectInfos.Where(pi => DesignTimeBuildFailed(pi.Value) && solution7.IsDeferredProjectLoadAllowed(pi.Key));
var guidsOfProjectsThatFailed = projectInfosOfProjectsThatFailed.Select(pi => GetProjectGuid(pi.Key)).ToArray();
OutputToOutputWindow($"\tForcing load of {guidsOfProjectsThatFailed.Length} projects.");
OutputListToOutputWindow("\tIncluding ", projectInfosOfProjectsThatFailed.Select(pi => pi.Key));
Expand Down

0 comments on commit b663584

Please sign in to comment.