When you need handle all exceptions in your WPF application you can use:
Application.DispatcherUnhandledException
event
My problem is:
I create a WPF Custom Control Library, so I don't have a app.xaml file. I can't define a Application.DispatcherUnhandlerException.
And even more so, my library will be used to a non .net based app. So I can't define Application.DispatcherUnhandlerException in the main application, because there isn't one.
Is there a way to make this in a dll level?