sadeghhp
sadeghhp

Reputation: 702

asp.net MVC 5 DependencyResolver

I'm using Unity Dependency Injection in my project and when upgrading to new ASP.NET MVC5 make a problem of "Entry point was not found" what happened to DependencyResolver and how can I fix this?

Upvotes: 3

Views: 10022

Answers (2)

Saranga
Saranga

Reputation: 3228

Check the version of System.Web.WebPages.Razor, update it to latest version.

Try Unity with Unity.Mvc5 1.1.0 nuget package. You can find a step-by-step guide below. MVC 5 with Unity for Dependency Injection

Upvotes: 0

unforgiven1987
unforgiven1987

Reputation: 464

Like Tuzo said, try upgrading our Unit MVC bootstrapper to the version that supports MVC5.

http://www.nuget.org/packages/Unity.Mvc5/

Upvotes: 2

Related Questions