Closed ghost closed 8 years ago
In this page :https://www.nuget.org/packages/Autofac.Mvc5/ In Discription told :
Dependencies Autofac (>= 4.0.0 && < 5.0.0) Microsoft.AspNet.Mvc (>= 5.1.0 && < 6.0.0) and Updated to .NET 4.5.1, Autofac 4 compatibility
Dependencies Autofac (>= 4.0.0 && < 5.0.0) Microsoft.AspNet.Mvc (>= 5.1.0 && < 6.0.0)
and Updated to .NET 4.5.1, Autofac 4 compatibility
in my project i used mvc 5.2 and dot net 4.5.2
how can implement Autofac on my project ?
Quick Start MVC (this page : http://autofac.readthedocs.io/en/latest/integration/mvc.html#quick-start)
told // Register your MVC controllers. builder.RegisterControllers(typeof(MvcApplication).Assembly);
told
// Register your MVC controllers. builder.RegisterControllers(typeof(MvcApplication).Assembly);
but in my project get an error "Could not be found"
how can fix it ?
This question appears to be cross-posted to StackOverflow. Answers from us and/or the community will be there.
In this page :https://www.nuget.org/packages/Autofac.Mvc5/ In Discription told :
in my project i used mvc 5.2 and dot net 4.5.2
how can implement Autofac on my project ?
Quick Start MVC (this page : http://autofac.readthedocs.io/en/latest/integration/mvc.html#quick-start)
but in my project get an error "Could not be found"
how can fix it ?