public App() { if (!Debugger.IsAttached) { this.Dispatcher.UnhandledException += OnDispatcherUnhandledException; } VersionInfo.DeleteUpdater(); }