Autofac reporting circular dependency only when using keyed attribute
I’m trying to inject a specific keyed object into another’s constructor, but autofac 8.0.0 raises an exception that there is a circular dependency: Circular component dependency detected: DummyComboMotor -> DummyComboMotor -> DummyComboMotor.
Autofac DI and “Child” Scopes
I have a project where I use Autofac to create UI components.
I would like some of my Autofac-created UI components to have child components that can potentially reference their parent.
Attempt by security transparent method Autofac.Integration.Mvc.RegistrationExtensions
Attempt by security transparent method ‘Autofac.Integration.Mvc.RegistrationExtensions.RegisterControllers(Autofac.ContainerBuilder, System.Reflection.Assembly[])’ to access security critical type ‘Autofac.Builder.IRegistrationBuilder`3<System.Object,Autofac.Features.Scanning.ScanningActivatorData,Autofac.Builder.DynamicRegistrationStyle>’ failed.