From e6f19a4abf8184c386509480d0482a5e36a8994c Mon Sep 17 00:00:00 2001 From: bao-qian Date: Wed, 11 Nov 2015 00:33:33 +0000 Subject: [PATCH] Fix unhandled exception --- Wox/App.config | 5 ----- Wox/App.xaml.cs | 2 +- Wox/Wox.csproj | 2 +- 3 files changed, 2 insertions(+), 7 deletions(-) diff --git a/Wox/App.config b/Wox/App.config index 55ab1e0d9d..c718ae367c 100644 --- a/Wox/App.config +++ b/Wox/App.config @@ -1,10 +1,5 @@ - - - - - diff --git a/Wox/App.xaml.cs b/Wox/App.xaml.cs index 5b239e0851..4e87e6a4db 100644 --- a/Wox/App.xaml.cs +++ b/Wox/App.xaml.cs @@ -42,7 +42,7 @@ namespace Wox } - [Conditional("DEBUG")] + [Conditional("RELEASE")] private void RegisterUnhandledException() { // let exception throw as normal is better for Debug diff --git a/Wox/Wox.csproj b/Wox/Wox.csproj index 7d46e6109a..cd72afb976 100644 --- a/Wox/Wox.csproj +++ b/Wox/Wox.csproj @@ -48,7 +48,7 @@ pdbonly true ..\Output\Release\ - TRACE + TRACE;RELEASE prompt 4 false