Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rebus.Diagnostics: Incompatible wih OpenTelemetry 1.10.0 #21

Open
raphaelquati opened this issue Nov 15, 2024 · 0 comments
Open

Rebus.Diagnostics: Incompatible wih OpenTelemetry 1.10.0 #21

raphaelquati opened this issue Nov 15, 2024 · 0 comments

Comments

@raphaelquati
Copy link

Version conflict detected for System.Diagnostics.DiagnosticSource. Install/reference System.Diagnostics.DiagnosticSource 9.0.0 directly to project Test.AspNetCore to resolve this issue. 
Test.AspNetCore -> OpenTelemetry.Instrumentation.Runtime 1.9.0 -> OpenTelemetry.Api 1.10.0 -> System.Diagnostics.DiagnosticSource (>= 9.0.0) 
 Thunders.BuildingBlocks.AspNetCore -> Rebus.Diagnostics 1.0.1 -> System.Diagnostics.DiagnosticSource (>= 6.0.0 && < 9.0.0).

Adding in project:

<PackageReference Include="System.Diagnostics.DiagnosticSource" Version="9.0.0" />

The program compiles, but with warning:

Detected package version outside of dependency constraint: Rebus.Diagnostics 1.0.1 requires System.Diagnostics.DiagnosticSource (>= 6.0.0 && < 9.0.0) but version System.Diagnostics.DiagnosticSource 9.0.0 was resolved.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant