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.
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.