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

2

Sirs,

I need to set up a Plugin system that meets certain requirements.

  • Ensure library isolation, for example, The host must use MahApps Version A, and the plugin should use version B.

  • I should avoid to Maximum that some Thread or System exception, or some plugin programmer error break my Host.

  • MAF would be interesting, but problem 2 will still continue. ( Article ) I implemented the described MEF ( Article ) by Microsoft, however when throwing 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?

        
    asked by anonymous 31.12.2017 / 19:31

    0 answers