Quantcast
Channel: Common Language Runtime Internals and Architecture forum
Viewing all articles
Browse latest Browse all 1710

Instrumentation Profiler in CoreCLR - Ways to Load HelperAssembly

$
0
0
Hi, I am trying to extend the support of Instrumentation profiler to CoreCLR. At present my focus is on ASP.NET Core web applications that runs on .NET Core 2.1. I blindly tried of using the environment values CORECLR_PROFILER , CORECLR_ENABLE_PROFILING  and CORECLR_PROFILER_PATH, where my CorProfiler dll gets attached to dotnet.exe and it gets the callbacks.

I am able to get all the callbacks , but when i allow injecting the code into the Webapplication's method then the app is getting crashed(dotnet.exe gets killed) as it couldnt find the injected function call. As i read the GAC is not used anymore , 

where should my helper assembly should be placed..? and 
should it be strong named.? 
can i even use DefineAssemblyRef from IMetaDataAssemblyEmit to define the assembly?

It would be much helpful if I get some correct direction to use / port in my existing profiler to CoreCLR.

Many thanks in advance.

Viewing all articles
Browse latest Browse all 1710

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>