Skip to content
The landing page for Fody repositories
C#
Branch: master
Clone or download
Latest commit c71c1b3 Nov 17, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
BasicFodyAddin refs Oct 19, 2019
images sponsor Jan 9, 2019
pages fix link Oct 30, 2019
src update github sync Nov 17, 2019
.gitignore add basic fody addin Jan 23, 2019
license.txt add basic fody addin Jan 23, 2019
mdsnippets.json move to MarkdownSnippets.MsBuild Jul 23, 2019
readme.md doco Aug 10, 2019

readme.md

Fody

The Home repository is the starting point for people to learn about Fody, the project.

Fody is an extensible tool for weaving .net assemblies. It enables the manipulating the IL of an assembly as part of a build requires a significant amount of plumbing code. This plumbing code involves knowledge of both the MSBuild and Visual Studio APIs. Fody attempts to eliminate that plumbing code through an extensible add-in model. This technique is very powerful, for example you can turn simple properties into full INotifyPropertyChanged implementations, add checks for null arguments, add Method Timings, even make all your string comparisons case insensitive.

Already a Patron? skip past this section

Community backed

Fody requires significant effort to maintain. As such it relies on financial contributions from the community and sponsorship to ensure its long term viability. It is expected that all developers using Fody become a Patron on OpenCollective.

Go to licensing FAQ for more information.

Gold Sponsors

Support this project by becoming a Gold Sponsor. A large company logo will be added here with a link to your website.

PostSharp

Silver Sponsors

Support this project by becoming a Silver Sponsor. A medium company logo will be added here with a link to your website.

Particular Software

Bronze Sponsors

Support this project by becoming a Bronze Sponsor. The company avatar will show up here with a link to your OpenCollective Profile.

Patrons and sponsors

Thanks to all the backers and sponsors! Support this project by becoming a patron.

Main Fody code repository

The codebase of core Fody engine located at https://github.com/Fody/Fody.

Chat on Gitter

The plumbing tasks Fody handles

  • Injection of the MSBuild task into the build pipeline
  • Resolving the location of the assembly and pdb
  • Abstracts the complexities of logging to MSBuild
  • Reads the assembly and pdb into the Mono.Cecil object model
  • Re-applying the strong name if necessary
  • Saving the assembly and pdb

Fody Uses Mono.Cecil and an add-in based approach to modifying the IL of .net assemblies at compile time.

  • No install required to build.
  • Attributes are optional depending on the weavers used.
  • No runtime dependencies need to be deployed.

Documentation and Further Learning

Naming

The name "Fody" comes from the small birds that belong to the weaver family Ploceidae.

Credits

Thanks to the following

You can’t perform that action at this time.