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

[bug] Instrumentation packages reference .NET 9 framework assemblies #2361

Open
david-chandler-cko opened this issue Dec 5, 2024 · 3 comments
Labels
bug Something isn't working comp:instrumentation.aws Things related to OpenTelemetry.Instrumentation.AWS

Comments

@david-chandler-cko
Copy link

Component

OpenTelemetry.Instrumentation.AWS

Package Version

Package Name Version
OpenTelemetry.Instrumentation.AWS 1.10.0-beta.1

Runtime Version

net8.0

Description

The common package versions have been updated for OpenTelemetry.NET and they now specify a minimum version of 9.0 for Microsoft.Extensions packages.
This means that projects targeting earlier framework versions can no longer be built using the .NET 8 SDK.

Steps to Reproduce

Try to include OpenTelemetry.Instrumentation.AWS library at version 1.10.0-beta.1 in a project targeting .net 8.

Expected Result

The library should target the extensions libraries with the same major version as the current .NET framework.

Actual Result

The library requires a reference to .NET 9 framework assemblies.

Additional Context

No response

@david-chandler-cko david-chandler-cko added the bug Something isn't working label Dec 5, 2024
@github-actions github-actions bot added the comp:instrumentation.aws Things related to OpenTelemetry.Instrumentation.AWS label Dec 5, 2024
Copy link
Contributor

github-actions bot commented Dec 5, 2024

Tagging component owner(s).

@srprash @ppittle @muhammad-othman @rypdal @Oberon00

@Dreamescaper
Copy link

Using Microsoft.Extensions.Configuration 9.0.0 does not prevent from using .NET 8 SDK. net8.0 is fully supported by that package.

https://www.nuget.org/packages/microsoft.extensions.configuration/#supportedframeworks-body-tab

@ppittle
Copy link
Member

ppittle commented Dec 17, 2024

@david-chandler-cko - can you elaborate further on your setup?

Looking at the GitHub Actions, OpenTelemetry.Instrumentation.AWS is rebuilt as part of any PR, including for .NET 8 on both windows and ubuntu, and has been succeeding as recently as today:

https://github.com/open-telemetry/opentelemetry-dotnet-contrib/actions/runs/12380042591/job/34555585408

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working comp:instrumentation.aws Things related to OpenTelemetry.Instrumentation.AWS
Projects
None yet
Development

No branches or pull requests

3 participants