How to ensure that my Plugin will not kill my host? (C#/WPF)

Asked

Viewed 19 times

2

Sirs,

I need to build a Plugin system that meets some requirements.

  1. Ensure library isolation, for example, The host must use Mahapps Version A, and the plugin must use Version B.

  2. Should I avoid to the maximum that some exception of Thread or system, or some error of the plugin programmer breaks my Host.

MAF would be interesting, but problem 2 will still continue. (Article) I implemented the described MEF(Article) by microsoft, but when throws exceptions in the plugin, the host is affected and closes.

What is the best option in this case? how should I implement my plugin system?

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.