public void Start() { _logger.LogInfo("Configuring system tray icon"); var applicationContext = new SystemTrayApplicationContext(_nancyHostProvider.NancyHost, _nancyBaseUriProvider.Url); applicationContext.Initialize(); _logger.LogInfo("Starting chooie (entering main loop)"); Application.Run(applicationContext); }