Error loading Ninject component IAdviceFactory
No such component has been registered in the kernel's component container.
Suggestions:
1) If you have created a custom subclass for KernelBase, ensure that you have properly
2) Ensure that you have not removed the component from the container via a call to RemoveAll().
3) Ensure you have not accidentally created more than one kernel.
--
You received this message because you are subscribed to the Google Groups "ninject" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ninject+u...@googlegroups.com.
To post to this group, send email to nin...@googlegroups.com.
Visit this group at https://groups.google.com/group/ninject.
For more options, visit https://groups.google.com/d/optout.
Hi SajanYou need to choose either Ninject.Extensions.interception.DynamicProxy or Ninject.Extensions.Interception.LinFu nuget package.From these, either DynamicProxyModule or LinFuModule need to be loaded. If you use automatic assembly extension, you don't need to load them manually.RegardsBruno
Am Mo., 29. Apr. 2019 um 23:21 Uhr schrieb Sajan s <jess...@gmail.com>:
--Hi All,We are trying to implement interception for first time and getting below mentioned error. Any one able to help me out?in .net console applicationError:Error loading Ninject component IAdviceFactory
No such component has been registered in the kernel's component container.
Suggestions:
1) If you have created a custom subclass for KernelBase, ensure that you have properly
2) Ensure that you have not removed the component from the container via a call to RemoveAll().
3) Ensure you have not accidentally created more than one kernel.
Thanks & Regards,Sajan Soosai Micheal
You received this message because you are subscribed to the Google Groups "ninject" group.
To unsubscribe from this group and stop receiving emails from it, send an email to nin...@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to ninject+u...@googlegroups.com.
try first by just installing Ninject.Extensions.Interception.DynamicProxy, just like you did with Ninject.Extensions.Interception.If it doesn't work, add:kernel.Load<DynamicProxyModule>();