@raxraja
I experience the same problem as you did. Whenever I am using the native (profiling) images, I am receiving ELT-Callbacks eventhough i set *pbHookFunction to false and even returned a null pointer.
Whenever I remove the profiling images, everything seems to be as expected. No callbacks for filtered calls.
I am curious, how and why did the .Net framework installation clean up help you ?
Do you still use the profiling images or did you remove them ? Did you check the list of loaded modules if the corresponding module is still a ni-image ?
Is there something I can do to prevent the ELT callbacks when using the option ngen /profile ?
@all:
Reducing JIT-times is not worth it if runtime overhead is added for each call, in particular calls with high frequency.
Is the observed effect by design ? Anything we can do here ?
Thanks,
Holger