Module loading problem

Topics: CAB & Smart Client Software Factory
Oct 10, 2005 at 6:05 PM
originally posted by: jwmc

In the previous CTP, I had a module which supplied a service to the framework via the Service attribute AND used it inside its own Start (now Load) method. Other modules which depended on this service had service dependencies in their ModuleInit-derived classes. In CTP2, this breaks as the service isn't added until all the modules are created, and Dependency Injection occurs before the service is added. Any workarounds for this?
Oct 11, 2005 at 8:53 AM
originally posted by: jwmc

My bad, as I updated my modules I inadvertantly used ServiceDependency attributes to get services whereas before I used the now deprecated GetService() method.