In my application there is a "loader" executable (let's call it "Loader.exe"). It searches a specific folder for DLL files and loads them one-by-one. Then the user can choose which plugin to run (plugins have windows and business logic). This is a kind of a plugin architecture I have currently implemented.
The problem with that is that none of the run-time explorer tools for WPF and profilers can see what is happening inside the loaded DLLs. E.g. the CLR Profiler does not gather any data at all.
Is there anything I could do to fix this without rewriting the DLL loading part of the project? And, frankly, why don't those profilers see the loaded DLL code? VS debugging works great in those.