ホストから分離して WPF プラグインをロードできるようにするために、System.AddIn (MAF) を使用して API を設計しました。
現在、API は AppDomains を使用して分離を提供していますが、AppDomains に関連する制限のため、代わりに AddInProcesses を使用するように実装を切り替えようとしています。次のプロジェクトをテンプレートとして使用しています: http://www.cnblogs.com/Files/sheva/Process.zip
私の最初の実装は問題なく動作しているようで、分離境界を越えて WPF 要素を読み込むことができますが、複雑な Telerik コントロールを読み込もうとすると問題が見つかりました。RadRibbonView、次の例外が発生します:
An exception of type 'System.Runtime.Remoting.RemotingException' occurred in mscorlib.dll but was not handled in user code
Additional information: Failed to read from an IPC Port: The pipe has been ended.