I came across this scenario after installing Nancy.Bootstrappers.Ninject from Nuget. My Nancy project was created using Nancy Visual Studio templates and referenced Nancy 0.21.1.
I found that installing the bootstrapper package forced the Nancy base package to upgrade from 0.21.1 to 0.23.2. This is great, except that the Nancy.Hosting.Aspnet and Razor packages Nancy.Hosting.Aspnet not been updated since 0.21.1.
To fix the error, I had to update all the packages related to Nancy that I used to match the 0.23.2 package.
source share