Aug 18, 2009 at 6:52 PM
Edited Aug 18, 2009 at 6:53 PM
It appears you have two different problems. I’ll try to address them separately.
The first one is your exception when trying to inject the ViewModel. If you are doing this through an interface, which I suspect is the case, you need to register the type mapping in the container before trying to resolve it:
You might also find the GetRootException extension method (of the Exception class useful). You can read more about it
The other issue you appear to have is that the class that implements the
IModule interface is not being constructed. This is usually due to the fact that the module is not being loaded. As soon as a module is loaded this class is constructed and its Initialize method is called. You can make sure the module is correctly
added for download, and use the CAL bits to debug the module loading process to check why it is not loading your module.
Some links that might be useful:
Please let me know if this helps.