I have a solution with two projects Business
and Domain
I'm using Fody.EmptyConstructor
to create parameterless constructors for my domain models on runtime. It works well when I add the Fody.EmptyConstructor
package to the Domain project, but I'd rather not have that as a dependency there and instead have it in Business. Is there a way to do so?
-Sln
--Domain
--Business (has reference to Domain)
---FodyWeavers.xml
FodyWeavers.xml
:
<Weavers xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="FodyWeavers.xsd">
<EmptyConstructor />
</Weavers>
Thanks in regard for any suggestions.