SeeminglyScience / ImpliedReflection

Access non-public types and type members as if they were public.
MIT License
42 stars 3 forks source link

Issues in pwsh 7.3.0-preview.4+ #11

Open SeeminglyScience opened 1 year ago

SeeminglyScience commented 1 year ago

Some things don't work as expected in any preview after and including 4. This was due to a change in .NET which broke the library Harmony uses for creating runtime detours (see MonoMod/MonoMod#94). Waiting on MonoMod/MonoMod#109 to be released and then I'll update this module. Can confirm the changes in the PR fix it (as a temporary workaround you can build that PR and drop in the new assemblies).

Most notable break is non-public type resolution, but a few other things in the patched member binder won't work consistently.

nike4613 commented 1 year ago

If you need support quickly, you can use https://www.nuget.org/packages/MonoModReorg.RuntimeDetour/ which is based on the reorganize branch which has been under active development. It has full support for the .NET 7 runtime.

SeeminglyScience commented 1 year ago

Ah very nice! Thanks for letting me know ❤️