ninject / Ninject.MockingKernel

Extension for Ninject aiding testability in Moq, NSubstitute, and FakeItEasy
http://ninject.org/
Other
62 stars 25 forks source link

Incorrect version dependency for Ninject.MockingKernel.Moq NuGet package #24

Closed GitSnafu closed 6 years ago

GitSnafu commented 9 years ago

Ninject.MockingKernel.Moq 3.2.2.0 appears to depend on Ninject.MockingKernel version 3.2.2.0 or above, but when downloading the former from NuGet Ninject.MockingKernel version 3.2.0.0 is installed. This may cause the following error: System.TypeLoadException : Could not load type 'Ninject.MockingKernel.AdditionalInterfaceParameter' from assembly 'Ninject.MockingKernel, Version=3.2.0.0, Culture=neutral, PublicKeyToken=c7192dc5380945e7'.

As far as I can tell AdditionalInterfaceParameter isn't available in Ninject.MockingKernel 3.2.0.0. Upgrading to 3.2.2.0 fixes the issue.

VioletTape commented 9 years ago

Confirm that it's still exists and very frustrating. I've spent about an hour to realize that it's tool nut not my code

cjames9001 commented 9 years ago

This is preventing my team from using this version, we either have to downgrade Ninject, Ninject.MockingKernel, and Ninject.MockingKernel.Moq to 3.0.1.10, 3.0.0.5, 3.0.0.5 respectively.

Please fix this versioning issue.

caractacus commented 8 years ago

This issue still exists on the current/default Nuget package versions. Using Nuget Package Manager -> Update resolved the issue with an upgrade to Ninject.MockingKernel.

scott-xu commented 8 years ago

Please make sure you installed all the latest Ninject packages