protected void InitializeShell(StartupEventArgs e) { _resetSplashCreated = new ManualResetEvent(false); _splashThread = new Thread(ShowSplash); _splashThread.SetApartmentState(ApartmentState.STA); _splashThread.IsBackground = true; _splashThread.Name = "Splash Screen"; _splashThread.Start(); _resetSplashCreated.WaitOne(); new Bootstrapper().Start(); base.OnStartup(e); _shellViewModel = MainWindow.DataContext as ShellViewModel; if (_shellViewModel != null) { CreateDummyWorkflowDesignerForCaching(); SplashView.CloseSplash(); CheckForDuplicateResources(); var settingsConfigFile = HelperUtils.GetStudioLogSettingsConfigFile(); if (!File.Exists(settingsConfigFile)) { File.WriteAllText(settingsConfigFile, GlobalConstants.DefaultStudioLogFileConfig); } Dev2Logger.AddEventLogging(settingsConfigFile, "Warewolf Studio"); XmlConfigurator.ConfigureAndWatch(new FileInfo(settingsConfigFile)); _appExceptionHandler = new AppExceptionHandler(this, _shellViewModel); } var toolboxPane = Current.MainWindow.FindName("Toolbox") as ContentPane; toolboxPane?.Activate(); }