Ninject.Web.MVC3 worked for MVC4, but what about MVC5?

1,291 views
Skip to first unread message

Ryan Cole

unread,
Oct 29, 2013, 5:00:14 PM10/29/13
to nin...@googlegroups.com
I just recently accidentally upgraded MVC4 to MVC5 in a project of mine, using Nuget. This broke my Ninject.Web.MVC3 install, for the project. I guess this breaks SimpleInjector, which I don't really know anything about. What are my options for MVC5? Or, should I just revert back to MVC4 somehow and continue using Ninject.Web.MVC3?

Thanks,
Ryan

Remo Gloor

unread,
Oct 30, 2013, 11:09:14 AM10/30/13
to nin...@googlegroups.com

Ninject.MVC3 works with MVC5. You need to define some assembly redirects though:

http://www.asp.net/mvc/tutorials/mvc-5/how-to-upgrade-an-aspnet-mvc-4-and-web-api-project-to-aspnet-mvc-5-and-web-api-2

--
You received this message because you are subscribed to the Google Groups "ninject" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ninject+u...@googlegroups.com.
To post to this group, send email to nin...@googlegroups.com.
Visit this group at http://groups.google.com/group/ninject.
For more options, visit https://groups.google.com/groups/opt_out.

Reply all
Reply to author
Forward
0 new messages