My question is really a repetition of the old question posted here:
Multiple Ninject 2.2 Bindings
It seems that someone was going to deal with this back in 2011. Does anyone know if there is a way to disable such warnings in Ninject? Or some other workaround?
EDIT
In response to @BatteryBackupUnit, here is my exact problem:
I have several libraries ... and in my main library I am doing something like this:
- Find all assemblies referenced by the host application (including the host)
- Find all types that inherit
IDependencyfrom all of these assemblies. - Automatically register all of them as transitional
Then from another library (which the link to the host application may or may not reference), I have the following:
Kernel.Bind<IDbContextFactory>().To<DbContextFactory>().InSingletonScope();
IDbContextFactory IDependency, , , (singleton).
( ) , Autofac, Ninject , .
... " " (- ).