Tyrrrz/DotnetRuntimeBootstrapper

`AppDomain.CurrentDomain.UnhandledException` doesn't get called

Open

#27 opened on Feb 7, 2022

View on GitHub
 (6 comments) (0 reactions) (0 assignees)C# (18 forks)github user discovery
bughelp wanted

Repository metrics

Stars
 (327 stars)
PR merge metrics
 (No merged PRs in 30d)

Description

Version

ver 2.1.0

Details

According to #23 I've made this little project: UnhandledExceptionsRepro.zip

The problem is that the AppDomain.CurrentDomain.UnhandledException += CurrentDomain_UnhandledException; event handler doesn't get called when using DotnetRuntimeBootstrapper. I think the sample app is very easy to understand, so I don't think it needs more explanation here (I also added comments).

Steps to reproduce

Just click the button and read the comments.

Contributor guide