In my project I have one infrastructure (class library) and two Silverlight modules.
Infrastructure class library has service class and I want access that class in my view model which is preset inside my first module.
I have added Export in service class in Infrastructure (class library) and added Import in View Model in first module.
I’m able to access service class methods in View Model in first module without any issue. When I navigate to second module I was facing following error.
An exception occurred while initializing module 'SecondModule'.
- The exception message was: The composition remains unchanged. The changes were rejected because of the following error(s): The composition produced multiple composition errors, with 4 root causes. The root
causes are provided below. Review the CompositionException.Errors property for more detailed information.
Please confirm, can I access infrastructure service class in first module without any issue (or) do I need to move infrastructure service class to first module itself.