.net - 如何解决错误 "Currently composing another batch in this ComposablePartExportProvider. Only one batch can be composed at a time."

标签 .net mef

我在利用 MEF 的应用程序中收到以下错误:

Currently composing another batch in this ComposablePartExportProvider. Only one batch can be composed at a time.



关于如何修复此错误的信息似乎很少,并且不确定我应该提供哪些其他信息来获得一些帮助。

有没有其他人使用 MEF 收到此错误?如果是这样,您解决问题的一些方法是什么?

最佳答案

看看this forum post .听起来和你遇到的问题一样。

关于.net - 如何解决错误 "Currently composing another batch in this ComposablePartExportProvider. Only one batch can be composed at a time.",我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/5810274/

相关文章:

c# - 如果第 2 代已满,垃圾收集期间会发生什么?

c# - 在不跳过值的情况下节流 Rx.Observable

c# - 如何将 MEF(托管可扩展性框架)配置为仅加载已签名的程序集

C# - LINQ 帮助

c# - MEF 和 DirectoryCatalog

c# - 如何避免 MEF 中的冗余导入?

asp.net - 如何在 ASP .NET 中动态插入网页(并更新插件)?

c# - Roslyn:为什么许多 SymbolDisplay 方法在 ISymbol 上有等效的实例对应物?

c# - 如何使用 P/Invoke SendMessage 设置边距?

c# - 绑定(bind)重定向不重定向?