asp.net mvc - TypeLoadException using Ninject MVC3: NinjectMvcHttpApplicationPlugin doesn't implement GetRequestScope -


i have spent hours on trying figure out why, after upgrading ninject , ninject.web.common latest versions, have been getting typeloadexception.

i have answer, post, in case others same thing.

the interface ininjecthttpapplicationplugin has changed @ point using requestscope property getrequestscope method.

ninject.mvc3 has not been updated, breaking change.

to fix problem, either don't upgrade yet, or install pre-release 3.0.2 version of ninject.mvc3.


Comments

Popular posts from this blog

jquery - How can I dynamically add a browser tab? -

node.js - Getting the socket id,user id pair of a logged in user(s) -

keyboard - C++ GetAsyncKeyState alternative -