NancyFx/Nancy.Bootstrappers.Ninject — pull request #5 by liddellj (2012-04-27 10:53:50+00:00)
Title: Fix for 'Method not found' exception against latest version of Ninject

The NuGet package for Nancy.Bootstrappers.Ninject does not specify a specific version of Ninject, but is built against 2.2.1.4. Currently, if I install the package, it will pull down the latest version of Ninject, which is 3.0.0.15 - but this contains a breaking change which results in the following exception:

Method not found: 'Ninject.Syntax.IBindingToSyntax`1 Ninject.Syntax.IBindingRoot.Bind(System.Type)'.

This problem is mentioned on the Ninject Google Group: http://groups.google.com/group/ninject/tree/browse_frm/thread/e314c5c18cb24d1c/ba61c2e605977594?rnum=1&_done=%2Fgroup%2Fninject%2Fbrowse_frm%2Fthread%2Fe314c5c18cb24d1c%2Fba61c2e605977594%3Ftvc%3D1%26

This fix updates Ninject and Ninject.Extensions.ChildKernel to the latest versions, and adds a minimum version to the dependency in the NuSpec file.