Dec 2, 2009 at 5:13 AM
Edited Dec 2, 2009 at 5:14 AM
I'm trying to use a module that is not referenced as part of the project.
Here's my setup:
- WPF project
- Project holding the interface IJsonViewer (the WPF project has a reference to it)
- Project that holds the module JsonViewer (the WPF project does not have to reference to it) having a reference to the interface IJsonViewer and implementing it.
In the WPF project the bootstrapper loads the module from its path declared in the DirectoryModuleCatalog. Now how to I resolve its type?
is not valid since JsonViewer is unknown from the WPF project.
I have access to the module info through this.ModuleCatalog.Modules though. How should I proceed? For some reason I haven't found any hints in the documentation. Is this possible at all?