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.
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!
- 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 emptyIgnoresAccessChecksTo
attribute generated by the BepInEx publicizer.