Hi,
I've developed a plugin for my MEF application, and it uses it's own serialize / deserialize utility for persisting state data (BinaryFormatter). On it's own outside of MEF, the plugin project works fine. However, when working with the MEF host, the plugin serialization util fails. While the plugin is able to serialize objects, when it tries to deserialize them (e.g., on the next line of code) it fails. The exception is that it is "unable to find assembly..." and the assembly it can't find is it's self !!!!
By the way, the test object that was serialized is a dummy defined within the plugin project. No issues here. And, MEF solution, apart from this issue, seems to be working fine - Assemblies found, export/imports resolved.
I'm new to MEF and so unsure what the problem is. Any thoughts appreciated.
Thanks!
wak
I've developed a plugin for my MEF application, and it uses it's own serialize / deserialize utility for persisting state data (BinaryFormatter). On it's own outside of MEF, the plugin project works fine. However, when working with the MEF host, the plugin serialization util fails. While the plugin is able to serialize objects, when it tries to deserialize them (e.g., on the next line of code) it fails. The exception is that it is "unable to find assembly..." and the assembly it can't find is it's self !!!!
By the way, the test object that was serialized is a dummy defined within the plugin project. No issues here. And, MEF solution, apart from this issue, seems to be working fine - Assemblies found, export/imports resolved.
I'm new to MEF and so unsure what the problem is. Any thoughts appreciated.
Thanks!
wak