예제 #1
0
        private async void App_OnStartup(object sender, StartupEventArgs e)
        {
            LogSettings.Logger = new DebugLogger {
                Level = LogLevel.Verbose
            };
#if DEBUG
            _bootstrapper.Add(@"..\..\..\Dapplo.CaliburnMicro\bin\Debug", "Dapplo.CaliburnMicro.dll");
            _bootstrapper.Add(@"..\..\..\Dapplo.CaliburnMicro.MahApps\bin\Debug", "Dapplo.CaliburnMicro.MahApps.dll");
            _bootstrapper.Add(@".", "Dapplo.CaliburnMicro.NotifyIconWpf.dll");
            _bootstrapper.Add(@"..\..\..\Caliburn.Micro.DemoAddon\bin\Debug", "Caliburn.Micro.DemoAddon.dll");
#else
            _bootstrapper.Add(@"..\..\..\Dapplo.CaliburnMicro\bin\Release", "Dapplo.CaliburnMicro.dll");
            _bootstrapper.Add(@"..\..\..\Dapplo.CaliburnMicro.MahApps\bin\Release", "Dapplo.CaliburnMicro.MahApps.dll");
            _bootstrapper.Add(@".", "Dapplo.CaliburnMicro.NotifyIconWpf.dll");
            _bootstrapper.Add(@"..\..\..\Caliburn.Micro.DemoAddon\bin\Release", "Caliburn.Micro.DemoAddon.dll");
#endif
            await _bootstrapper.RunAsync();
        }