Skip to content

EverestAPI/CelestePublicizer

Repository files navigation

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.

About

NuGet build task to publicize vanilla Celeste types/methods/fields

Resources

Stars

Watchers

Forks

Packages

No packages published