I want to get the default Windows Forms Unhandled-Exception dialog when my C # application encounters a UE. In 2005, when I disabled jit Debugging in app.conf as follows:
<configuration>
<system.windows.forms jitDebugging="false" />
<configuration>
the application behaves correctly and displays the default Windows Forms UE dialog box: Continue, Quit, call stack and all.
However, in vs 2008, on the same machine or another, even if I disable jit, I still get a Default.NET Unhandled-Exception Dialog with Debug, Send Report and Do not Send buttons.
How can I make a vs 2008 application the same as I do in vs 2005 to show the Windows Forms UE dialog box?
Please do not recommend using
AppDomain.CurrentDomain.UnhandledException += new UnhandledExceptionEventHandler(CurrentDomain_UnhandledException);
, vs 2005, 2008? , CLR.