Skip to content
forked from Fody/Publicize

Converts non-public members to public hidden members

License

Notifications You must be signed in to change notification settings

Chorus/Publicize

 
 

Repository files navigation

Chat on Gitter NuGet Status

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

This is an add-in for Fody

Icon

Converts non-public members to public hidden members

Introduction to Fody

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

<?xml version="1.0" encoding="utf-8" ?>
<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.

<?xml version="1.0" encoding="utf-8" ?>
<Weavers>
  <Publicize IncludeCompilerGenerated="true" />
</Weavers>

Icon

Hide designed by Luis Prado from The Noun Project

About

Converts non-public members to public hidden members

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C# 100.0%