ExtendRealityLtd / Malimbe

[Obsolete - No longer maintained] A collection of tools to simplify writing public API components for the Unity software.
MIT License
51 stars 11 forks source link

Porting existing weavers #67

Open krisrok opened 3 years ago

krisrok commented 3 years ago

I'm looking for a way to port existing weavers, especially the famous PropertyChanged.Fody, to Malimbe.

I've added an entry to the FodyWeavers.xml and naively dropped the netstandard2.0 .dll from the nuget package, renaming it to PropertyChanged.Fody.dll. That makes Malimbe recognize it but fails with an infinite reimporting loop: Expected the weaver 'PropertyChanged, Version=3.3.3.0, Culture=neutral, PublicKeyToken=ee3ee20bcf148ddd' to reference Mono.Cecil.dll. The weaver needs to add a NuGet reference to FodyCecil version 3.0.

If I read that correctly we need the weavers to compile against FodyCecil which in turn seems to be deprecated since 2018.

@bddckr Can you maybe tell me if I'm on the right track or even provide some guideline for this?