private static int Main(string[] args) { CiTrace("Application", "Started"); // measure startup time (maybe including CEF download) _startupTimer = new Stopwatch(); _startupTimer.Start(); var core = typeof(IChromelyConfiguration).Assembly; CiTrace("Chromely.Core", core.GetName().Version.ToString()); CiTrace("Platform", ChromelyRuntime.Platform.ToString()); var appDirectory = AppDomain.CurrentDomain.BaseDirectory; CiTrace("AppDirectory", appDirectory); var startUrl = $"file:///{appDirectory}/index.html"; var config = DefaultConfiguration.CreateOSDefault(ChromelyRuntime.Platform); config.LoadCefBinariesIfNotFound = true; config.WindowWidth = 1000; config.WindowHeight = 600; config.StartUrl = startUrl; config.DebuggingMode = true; CiTrace("Configuration", "Created"); try { var builder = AppBuilder.Create(); builder = builder.UseApp <ChromelyTestApp>(); builder = builder.UseConfiguration <DefaultConfiguration>(config); builder = builder.Build(); builder.Run(args); } catch (Exception ex) { Console.WriteLine(ex); throw; } CiTrace("Application", "Done"); return(0); }