There’s a lot to know when working with AppDomains. Having it freeze on Unload could be caused by several issues. EXM will properly unload an AppDomain and it’s running application if done properly.
You can look at the application guide I posted on my website for a place to start. I’ve done a lot of work on it since it was posted and there will be an update when time permits, but it should still work well as a foundation for moving forward.
@ Skewworks - I understand. On NETMF it’s more different for some special behaviors against to the normal CLR. Therefore if have written a solution some years ago. If someone need.