private void OnBuildFinished(IEnumerable <Microsoft.Build.Execution.BuildResult> results) { if (results.All(x => x.OverallResult == Microsoft.Build.Execution.BuildResultCode.Success)) { OpenDocuments.ToList().ForEach(x => x.Reload()); } }