autofac not resolving inherited class

73 views
Skip to first unread message

Sean Rock

unread,
Jul 4, 2017, 1:40:16 AM7/4/17
to Autofac

Hi

I'm having an issue with autofac where a child class is not being resolved for a given interface when both child and parent are registered. I've changed the registration order but no joy. 

I'm using nopCommerce however i think this may be an autofac issue.

Please see the thread on the nopCommerce forum.


Any ideas?

Thanks.

Travis Illig

unread,
Jul 4, 2017, 12:24:14 PM7/4/17
to Autofac
PreserveExistingDefaults means if there are any others registered those will be used instead. Try without that if you want to override.
Reply all
Reply to author
Forward
0 new messages