My goal is to create a Fody plugin and then use it in my project (target framework NET8.0). Being unable to find a good (up-to-date) step-by-step manual, I’m collecting pieces of data from various sources. Found articles say that I should create a class library project and add nuget packages “Fody” and “Mono.Cecil”.
Well, I have installed packages “Fody 6.9.1” and “Mono.Cecil 0.11.6”, but cannot start with a simplest plugin: line “using Fody” gives me error “The type or namespace name ‘Fody’ could not be found”. So I cannot extend my class from “BaseModuleWeaver” and do something.
I tried different targets in my class library project: “NET8.0”, “netstandard2.0”, “.NET Framework 4.7.2”. The result is the same: Fody cannot be found.
Can anyone explain me what is wrong? How can I get started with Fody? I also will highly appreciate a link to good documentation, clear for Fody newbies…
Thank you in advance!