ninject/ninject.extensions.bbveventbroker — Issue #1: Extension dependency and loading order
Author: tlloyd
Created: 2011-10-13 16:08:45+00:00
State: open

I notice that the bbv module enforces its dependency on NamedScopeModule and ContextPreservationModule when Load is called. The problem I am encountering is that when I create a StandardKernel, the default behavior is to scan for extensions and load them in whatever order the file system returns them in - in my case alphabetical. The problem here is that the bbv module is loaded before the dependent modules (as it comes alphabetically before them), therefore Load throws an exception as they have not yet been loaded.

I can turn off default extension loading behavior and write my own loader (which I have done), but I feel that this can't be the case and that I am missing something?