Skip to content

Latest commit

 

History

History
executable file
·
30 lines (18 loc) · 955 Bytes

README.md

File metadata and controls

executable file
·
30 lines (18 loc) · 955 Bytes

CelesteMod.Publiczer

This package automatically makes all private types/methods/fields from vanilla Celeste public.

Changes to the Celeste assembly, made by Everest are kept at their original visibility to avoid mods using Everest-internal APIs.

Usage

Simply replace the Celeste.dll reference

<Reference Include="$(CelestePrefix)\Celeste.dll">
    <Private>false</Private>
</Reference>

with this package:

<PackageReference Include="CelesteMod.Publicizer" Version="*" CelesteAssembly="$(CelestePrefix)\Celeste.dll" />

and everything should just work.

NOTE: You might need to invalidate the caches of your IDE, for it to properly work!

Known Issues

  • When using this package in combination with the BepInEx.AssemblyPublicizer.MSBuild package, while not actually publicizing anything with it, the game will crash. This is caused by an empty IgnoresAccessChecksTo attribute generated by the BepInEx publicizer.