I tried to find an example of this, but I found nothing. Seems that CreateInstanceAndUnwrap and similar don't have overload for Assembly or byte array. Can someone tell me how to do this?
EDIT:
Here's link to my other question. My idea was to make a wrapper executable that runs my main executable and logs its errors. But I don't know how to catch AppDomain.FirstChanceException if I don't run it as another AppDomain.