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