This project is read-only.

Custom Autofac modules ignore the OrchardFeature attribute.


Currently, all Autofac modules that are there in a module will run regardless of whether the feature they belong to is enabled or not.

By looking at the code it seems like it should work like with any other dependency - need to double check if it's reproable on vanilla instance.


rodpl wrote Apr 9, 2013 at 10:29 PM

This would be very useful for using Orchard Modules which are integrated with some enterprise applications.

Ex. Registering in IoC service which is defined and implemented in external legacy library but it should be registered only when some feature is enabled only.