private void LoadShadowContext() { try { this.ShadowContext = ShadowContext.Load(); } catch (Exception ex) { MessageBox.Show($"Failed to start FASTBuild Dashboard: error spawn shadow process.\n\n {ex.Message}", "FASTBuild Dashboard", MessageBoxButton.OK, MessageBoxImage.Exclamation); Environment.Exit(-1); } }
private static void CreateShadowContext(string shadowPath) { var shadowContext = new ShadowContext(); shadowContext.Save(shadowPath); }