문제

I got this exception when tried to instantiate a component using factory.

Requested component named '<component_Name>' was not found in the container. Did you forget to register it?

There is one other component supporting requested service '<service_Name>'. Is it what you were looking for?

component is registered in the container ( as it is returns the instance using resolve method). it likes some dependency component is not register which causes this exception. so i tried look at all the component and service installed in container but don't know how to do that. is there any procedure which will list out all the service/components registered in the container

도움이 되었습니까?

해결책

You can do it via debugger views

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top