I have two API projects within the same solution (one in which is mine, and another in which I need to reference and should not be changing). Both of these API projects add reference to the Ninject
and Ninject.Web.Common
package. Here is how the packages are setup:
Ninject.Web.Common
In Web Api A - \packages\Ninject.Web.Common.3.3.2\lib\net45\Ninject.Web.Common.dll
Ninject.Web.Common
in Web Api B - \packages\Ninject.Web.Common.3.2.3.0\lib\net45-full
(note the versions are different 3.3.2
and 3.2.3
)
What's happening is when I try to run my solution I get
Could not load type 'Ninject.Web.Common.OnePerRequestHttpModule' from assembly 'Ninject.Web.Common, Version=3.3.2.0, Culture=neutral, PublicKeyToken=c7192dc5380945e7'.
on my Web Api B
project (note it's trying to reference the 3.3.2
version from my Web Api A
project).
How can I keep both projects the same and have them reference their own respective version of Ninject?