Version Conflict Error with Snappy.net or any third party lib in OpenTelemetry Instrumented .NET Application #6219
Replies: 5 comments 8 replies
-
Please provide Minimal, Reproducible Example. |
Beta Was this translation helpful? Give feedback.
-
here is modified code of SDK
here is sample application that I am trying to instrument using auto instrument
Now consider that in our SDK I am using IronSnappy(1.3.1) and in my console application I am using IronSnappy(1.3.0) so while dumping the traces I am getting error IronSnappy.dll is not found with version 1.3.0 at location of where Otel's zip is extracted even though there is IronSnappy.dll but it is version as 1.3.1 same applies to Newtonsoft.Json.Linq; |
Beta Was this translation helpful? Give feedback.
-
here is csproj of exporter
here is Directory.Packages.props
here is csproj file for console application
|
Beta Was this translation helpful? Give feedback.
-
@Kielek thank you very much for help!! If possible could you please let me as we are using Google.Protobuf at SDK and let's assume that application that we are going to instrument it also using Google.Protobuf but with different version, at that same issue should be occured, Right? if yes and how we are able to resolve it?, because somehow I am not able to use nuget package. |
Beta Was this translation helpful? Give feedback.
-
Once again Thank you @Kielek! |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi everyone,
I’m working on a custom OpenTelemetry implementation for my .NET application, where I’ve integrated Snappy.net to compress data before writing traces to a file. However, I’m encountering a version conflict issue when I try to instrument my application with OpenTelemetry while also using Snappy.net.
Has anyone else faced a similar issue when using Snappy.net alongside OpenTelemetry in a .NET project? If so, how did you resolve the version conflict? I would appreciate any insights or best practices to tackle this issue effectively.
Thanks in advance!
Beta Was this translation helpful? Give feedback.
All reactions