I want to make Windows Error reporting write out a crash-dump file when my .NET 5/WPF application crashes. I found an article on it here:
https://docs.microsoft.com/en-us/windows/win32/wer/collecting-user-mode-dumps
but unfortunately that same article says
Applications that do their own custom crash reporting, including .NET applications, are not supported by this feature.
Does this mean that this will not ever work for .NET applications or that it will not work for .NET applications that do their own crash reporting?
Because I've tried to make my app catch unhandled exceptions:
AppDomain.CurrentDomain.UnhandledException += OnUnhandledException;
TaskScheduler.UnobservedTaskException += TaskScheduler_UnobservedTaskException;
DispatcherUnhandledException += App_OnDispatcherUnhandledException;
But none of these handlers seems to be called.