I cannot find a NuGet package for ASP.NET MVC5. I tried installing Unity.Mvc4 but the package manager refuses to add Unity.Mvc4.dll as reference, which is probably a good thing.
Suspect all I needed is UnityDependencyResolver so that I can set it up in Boostrapper like so:
public static class Bootstrapper
{
public static IUnityContainer Initialise()
{
var container = BuildUnityContainer();
DependencyResolver.SetResolver(new UnityDependencyResolver(container));
return container;
}
But this class is defined in Unity.Mvc4.dll. Anyone using Unity with MVC5? If so, how did you go about integration?