我已将我的项目改编为MEF的dll System.ComponentModel.Composition.dll System.ComponentModel.Composition.Initialization.dll
来自C:\ Program Files \ Reference Assemblies \ Microsoft \ Framework.NETFramework \ v4.0 \ Profile \ Client
但编译器无法识别PartInitializer。 为什么?!
答案 0 :(得分:2)
PartInitializer
已更改为CompositionInitializer
:
CompositionInitializer.SatisfyImports(this)