question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

BadImageFormatException Using Datadog.Trace 2.28.0 In Nuget Packages

See original GitHub issue

Describe the bug Using the 2.28.0 release of Datadog.Trace in our private nuget packages is resulting in BadImageFormatException in those libraries. Our web services don’t reference Datadog.Trace but instead rely on the version in those libraries to keep it consistent. We also use the amd64 package within our containers hosted in Kubernetes in AKS.

To Reproduce

  1. Upgrade to 2.28.0
  2. Use trace annotations
  3. Get an error like The signature is incorrect. The format of the file '/app/MyCompany.Libraries.Core.dll' is invalid. in the first method that has a Trace annotation on it.

Expected behavior No errors.

Runtime environment (please complete the following information):

Issue Analytics

  • State:closed
  • Created 5 months ago
  • Comments:6

github_iconTop GitHub Comments

2reactions
zacharycmontoyacommented, Apr 17, 2023

We’ve just released v2.29.0 of the .NET Tracer to fix this issue, thanks for reporting this @albernhagen !

0reactions
pierotiboucommented, Apr 15, 2023

Thanks a lot for the extra details @albernhagen. Indeed I can now reproduce it. I’ll leave this open while we look into it.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Datadog.Trace 2.35.0
Trace NuGet package. This package contains the Datadog .NET APM tracer for configuring custom instrumentation. If you are only using automatic instrumentation, ...
Read more >
Tracing .NET Framework Applications
Trace NuGet package to your application. In your application code, access the global tracer through the Datadog.Trace.Tracer.Instance property to create new ...
Read more >
Untitled
Trace.Bundle NuGet package This package contains the full Datadog . ... Trace 2.26.0 WebDatadog APM traces can be integrated with the logs product...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found