Skip to content

Allow for processing types in dependant projects. #107

@Keboo

Description

@Keboo

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).

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions