Can't Instantiate Windsor Custom Component Activator

Posted by jeffn825 on Stack Overflow See other posts from Stack Overflow or by jeffn825
Published on 2010-06-11T23:09:32Z Indexed on 2010/06/11 23:12 UTC
Read the original article Hit count: 303

Hi,

I'm getting an exception calling Resolve:

KernelException: Could not instantiate custom activator
Inner Exception:
{"Constructor on type 'MyProj.MyAdapter`1[[MyProj.MyBusinessObject, MyAsm, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]' not found."}

There's definitely a public parameterless constructor there (and I've verified this using reflection at runtime)...so I figure the problem might have to do with the fact that it's generic? I've tried getting the component model object and setting RequiresGenericArguments to true, but that hasn't gotten me anywhere.

Any help would be much appreciated! Thanks.

© Stack Overflow or respective owner

Related posts about castle-windsor

Related posts about ioc-container