Hi,
I am struggling to get DI working in MVC 6 - I am using VS 2015 and all projects outputting and using the DNX451.
When I try to replace the in-built version with Autofac. All the examples I have seen include this line...
builder.Populate(services);
This causes an error saying I have to reference the Microsoft.....DependacyInjection.Interfaces dll...
If I do that I then get a conflict saying IServiceProvider is defined in two places... I have tried using the ....DependancyInjection.Abstractions but that doesn't work either... I can't find any working example of doing this!!