The problem is not in the wizard. The problem comes from the Application.Run().
When running the app in VS it catches the exception in the try-catch block to help the developer.
When the app is running out of the VS the try-catch block doesn't handle the exceptions that are thrown by the gui created by calling Application.Run(). To handle these exceptions you should use Application.ThreadException.
The problem is not in the
The problem is not in the wizard. The problem comes from the Application.Run().
When running the app in VS it catches the exception in the try-catch block to help the developer.
When the app is running out of the VS the try-catch block doesn't handle the exceptions that are thrown by the gui created by calling Application.Run(). To handle these exceptions you should use Application.ThreadException.