I have a solution which contains a core client library and a platform specific client which implements the UI and platform specific operations. It has come about that the core client library contains a reference to a static factory method which needs a platform specific concrete implementation (actually a wrapper around a PCL, which provides a different component per platform) for different targets.
I am using Ninject at various points in the project, and would like to apply the same here. The only complication is that the consumer and the provider are in separate namespaces and separate .vsproj projects.
I was thinking that one way to go about this would be to provide an instantiating service ( a static class with get and set surrounding a static field) which can set the kernel for the core library, once dependancies have been bound in the consuming client. However, I didn't quite know if this was the best practice, or even able to work.