Getting Autofac.Core.DependencyResolutionException when calling Endpoint.Start

In case somebody else finds the same issue, I’ve solved it by telling the object source to ignore classes within NServiceBus namespace:

Builder.RegisterSource(new AnyConcreteTypeNotAlreadyRegisteredSource(t=>t.Namespace?.StartsWith(“NServiceBus”)!=true));