private static void LoadApp() { string subProcessPath = System.IO.Path.Combine(AppDomain.CurrentDomain.BaseDirectory, Environment.Is64BitProcess ? "x64" : "x86", "CefSharp.BrowserSubprocess.exe"); ExceptionLogger.LogMessage($"CefSharp subprocess: '{subProcessPath}'"); FormSplash.SetStatus(FormSplash.MsgInitChromiumEmbeddedFrameworkSettings, 0); //Perform dependency check to make sure all relevant resources are in our output directory. var settings = new CefSettings { BrowserSubprocessPath = subProcessPath }; string cachePath = Path.Combine(Environment.GetEnvironmentVariable("LOCALAPPDATA"), "vamp#", "CefCache"); if (!Directory.Exists(cachePath)) { Directory.CreateDirectory(cachePath); } settings.CachePath = cachePath; settings.LogSeverity = LogSeverity.Warning; settings.LogFile = Path.Combine(settings.CachePath, "cef.log"); Cef.Initialize(settings, performDependencyCheck: false, browserProcessHandler: null); FormSplash.SetStatus(FormSplash.MsgInitChromiumEmbeddedFrameworkSettings, 100); FormMain formMain = new FormMain(); FormSplash.CloseFormSplash(); Application.Run(formMain); }