Re: Component creation as defined factory

2017-12-05 Thread Doruk Dalçam
After trying all the solutions nearly 8 hours I initialized all types and subtypes in the project. And change initialization order. Then I found there is a dependency JConnector of T so I registered all T's and initialized aaand voila! So be careful if you have dependencies like me. Windsor

Component creation as defined factory

2017-12-05 Thread Doruk Dalçam
Hi, I have an component which is registered as container.Register(Component.For().AsFactory().LifestyleTransient()); container.Register(Component.For(typeof(JConnector<>)).LifestyleTransient()); And exception text is like this; (Normally I expect that exception message include necessary missing

Re: Component creation as defined factory

2017-12-05 Thread Krzysztof Koźmic
Hi Doruk You're right, I would expect more details there. If you can run that code with a debugger attached, what do you see in the debugger view on the container ( https://github.com/castleproject/Windsor/blob/master/docs/debugger-views.md) On Wed, 6 Dec 2017 at 00:19 Doruk Dalçam

Re: Component creation as defined factory

2017-12-05 Thread Doruk Dalçam