Skip to content
/ Publicize Public

Converts non-public members to public hidden members

License

Notifications You must be signed in to change notification settings

Fody/Publicize

Repository files navigation

Publicize.Fody

Chat on Gitter NuGet Status

Converts internal and private members to public and adds [EditorBrowsable(EditorBrowsableState.Advanced)].

See Milestones for release notes.

This is an add-in for Fody

It is expected that all developers using Fody become a Patron on OpenCollective. See Licensing/Patron FAQ for more information.

Usage

See also Fody usage.

NuGet installation

Install the Publicize.Fody NuGet package and update the Fody NuGet package:

PM> Install-Package Fody
PM> Install-Package Publicize.Fody

The Install-Package Fody is required since NuGet always defaults to the oldest, and most buggy, version of any dependency.

Add to FodyWeavers.xml

Add <Publicize/> to FodyWeavers.xml

<Weavers>
  <Publicize />
</Weavers>

In order to mark public compiler generated types such as, closure objects generated from lambda expressions. Add the IncludeCompilerGenerated attribute to the Publicize config element.

<Weavers>
  <Publicize IncludeCompilerGenerated="true" />
</Weavers>

Icon

Hide designed by Luis Prado from The Noun Project.