Currently constructors are only processed in types for the main module definition.
As a work around we can include the weaver in the dependant assemblies as well, but this then requires putting in a "none" FodyWeavers.xaml file
<?xml version="1.0" encoding="utf-8" ?>
<Weavers>
<!-- Don't process the types for registration, just doing this for the constructor injection -->
<AutoDI Behavior="None"/>
</Weavers>
It should be possible to declare dependant assemblies with constructors to process (perhaps automatically pick up dependant AutoDI referencing assemblies).
Currently constructors are only processed in types for the main module definition.
As a work around we can include the weaver in the dependant assemblies as well, but this then requires putting in a "none" FodyWeavers.xaml file
It should be possible to declare dependant assemblies with constructors to process (perhaps automatically pick up dependant AutoDI referencing assemblies).