Closed cabadam closed 1 month ago
I'm able to reproduce if app is built/published without specifying runtime identifier.
Scripts were expected to be run from the output of build/publish with runtime identifier specified. Improvements were made to the NuGet package/scripts to make this expectation more transparent:
runtimes
dir in case of native profiler not being present in the publish output root (https://github.com/open-telemetry/opentelemetry-dotnet-instrumentation/pull/3594)I'm closing the issue as underlying problem was addressed, @cabadam feel free to reopen if you disagree.
Bug Report
Symptom
Describe the bug I followed the instructions here: https://opentelemetry.io/docs/zero-code/net/nuget-packages/
When I run
instrument.cmd .\OpenTelemetryAutoWorker.exe
, an exception is logged:Expected behavior The application launches and runs.
Runtime environment (please complete the following information):
Reproduce
A sample application that demonstrates the issue is here: A sample application that demonstrates the issue is here: https://github.com/cabadam/OpenTelemetryAutoWorker
Steps to reproduce the behavior:
Logs attached: logs.zip