unknownv2 / CoreHook

A library that simplifies intercepting application function calls using managed code and the .NET Core runtime
MIT License
259 stars 40 forks source link

CoreCLR configuration was not found for 64/32-bit processes #139

Open Sardelka9515 opened 1 year ago

Sardelka9515 commented 1 year ago

The FileMonitor example does not work for me, just showing this line and then exit. Looking through the source code, it seems to be trying to locate runtime configuration with enviorment variable CORE_ROOT_64, CORE_ROOT_32(which is pretty unreliable?).

Can we inject a C++/CLI dll to the target process and let windows handle the runtime loading instead of manually locating it?