I want to use MEF in my WP8 app, so I grabbed the OOB sources and recompiled adding only the WP8 target to the PCLs - nothing else has been changed.
My problem is that I have a couple of exports of which two of them require the same import. What happens is that the import in question gets constructed twice - contrary to what I would have expected. In the assemblies produced, there is no PartCreationPolicy - and I would have expected that the default sharing would been preserved.
Any ideas how to solve this?
Thanks,
My problem is that I have a couple of exports of which two of them require the same import. What happens is that the import in question gets constructed twice - contrary to what I would have expected. In the assemblies produced, there is no PartCreationPolicy - and I would have expected that the default sharing would been preserved.
Any ideas how to solve this?
Thanks,