public static void AnalyzeBuild(Build build) { if (build.IsAnalyzed) { Seal(build); return; } var analyzer = new BuildAnalyzer(build); analyzer.Analyze(); build.IsAnalyzed = true; Seal(build); }
public static void AnalyzeBuild(Build build) { try { if (build.IsAnalyzed) { SealAndCalculateIndices(build); return; } var analyzer = new BuildAnalyzer(build); analyzer.Analyze(); build.IsAnalyzed = true; } catch (Exception ex) { System.Windows.MessageBox.Show( "Error while analyzing build. Sorry about that. Please Ctrl+C to copy this text and file an issue on https://github.com/KirillOsenkov/MSBuildStructuredLog/issues/new \r\n" + ex.ToString()); } }