Exemplo n.º 1
0
 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);
     }
 }
Exemplo n.º 2
0
        private static void CreateShadowContext(string shadowPath)
        {
            var shadowContext = new ShadowContext();

            shadowContext.Save(shadowPath);
        }