Unable to resolve with Autofac after upgrading to .NET 4.6.1
<p>I already posted a question about this on <a href="https://github.com/autofac/Autofac/issues/706" rel="nofollow">GitHub</a> and was advised to put it on StackOverflow:</p>

<p>I'm having problem with ThinkTecture Authorization Server since updating to .NET 4.6.1. As some people know, AuthorizationServer uses AutoFac (and we've updated that as well to Autofac 3.5.2).</p>

<p>The weird thing is that everything is OK on my local machine and in our DEV-environment, but it fails on INT! (all these environments contain .NET 4.6.1):</p>

<p>The problem we're having starts right at the beginning and looks like this:</p>

<blockquote>
  <p>[NullReferenceException: Object reference not set to an instance of an object.]
     IsIT.SignonServices.Common.Logger..ctor() in c:\Builds\23\48\src\IsIT.SignonServices.Common\Logger\Logger.cs:43
     lambda_method(Closure , Object[] ) +140
     Autofac.Core.Activators.Reflection.ConstructorParameterBinding.Instantiate() +271</p>
  
  <p>[DependencyResolutionException: An exception was thrown while invoking the constructor 'Void .ctor(Thinktecture.AuthorizationServer.Interfaces.IAuthorizationServerConfiguration)' on type 'TokenService'. ---> Object reference not set to an instance of an object. (See inner exception for details.)]
     Autofac.Core.Activators.Reflection.ConstructorParameterBinding.Instantiate() +736
     Autofac.Core.Activators.Reflection.ReflectionActivator.ActivateInstance(IComponentContext context, IEnumerable<code>1 parameters) +266
     Autofac.Core.Resolving.InstanceLookup.Activate(IEnumerable</code>1 parameters) +86
     Autofac.Core.Resolving.InstanceLookup.Execute() +62
     Autofac.Core.Resolving.ResolveOperation.GetOrCreateInstance(ISharingLifetimeScope currentOperationScope, IComponentRegistration registration, IEnumerable<code>1 parameters) +170
     Autofac.Core.Activators.Reflection.ConstructorParameterBinding.Instantiate() +124
     Autofac.Core.Activators.Reflection.ReflectionActivator.ActivateInstance(IComponentContext context, IEnumerable</code>1 parameters) +266
     Autofac.Core.Resolving.InstanceLookup.Activate(IEnumerable<code>1 parameters) +86
     Autofac.Core.Resolving.InstanceLookup.Execute() +62
     Autofac.Core.Resolving.ResolveOperation.GetOrCreateInstance(ISharingLifetimeScope currentOperationScope, IComponentRegistration registration, IEnumerable</code>1 parameters) +170
     Autofac.Core.Resolving.ResolveOperation.Execute(IComponentRegistration registration, IEnumerable<code>1 parameters) +109
     Autofac.ResolutionExtensions.TryResolveService(IComponentContext context, Service service, IEnumerable</code>1 parameters, Object&amp; instance) +122
     Autofac.ResolutionExtensions.ResolveOptionalService(IComponentContext context, Service service, IEnumerable`1 parameters) +70
     Autofac.Integration.Mvc.AutofacDependencyResolver.GetService(Type serviceType) +95
     System.Web.Mvc.DefaultControllerActivator.Create(RequestContext requestContext, Type controllerType) +59</p>
  
  <p>[InvalidOperationException: An error occurred when trying to create a controller of type 'Thinktecture.AuthorizationServer.OAuth2.AuthorizeController'. Make sure that the controller has a parameterless public constructor.]
     System.Web.Mvc.DefaultControllerActivator.Create(RequestContext requestContext, Type controllerType) +240
     System.Web.Mvc.DefaultControllerFactory.CreateController(RequestContext requestContext, String controllerName) +103
     System.Web.Mvc.MvcHandler.ProcessRequestInit(HttpContextBase httpContext, IController&amp; controller, IControllerFactory&amp; factory) +268
     System.Web.Mvc.MvcHandler.BeginProcessRequest(HttpContextBase httpContext, AsyncCallback callback, Object state) +95
     System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +921
     System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean&amp; completedSynchronously) +137</p>
</blockquote>

<p>Can somebody please help, I think it has something to do with reflection/injection-resolving?</p>