Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
GitSnafu opened this issue Jul 7, 2015 · 4 comments
Closed

Comments

@GitSnafu
Copy link

GitSnafu commented Jul 7, 2015

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
Copy link

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
Copy link

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
Copy link

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
Copy link
Member

Please make sure you installed all the latest Ninject packages

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants