Skip to content

[feature request] Add NET8.0 and NET10.0 as TargetFramework #3707

Description

@cavery-networkten

Component

OpenTelemetry.Instrumentation.ElasticsearchClient

Is your feature request related to a problem?

Currently OpenTelemetry.Instrumentation.ElasticsearchClient references OpenTelemetry as NetStandard2.0 which somewhere down the line refers to Microsoft.Extensions.DependencyInjection.Abstractions 10.0.0.0.

My project is a NET8.0 project and every other OpenTelemetry library reference correctly refers to the 8.0.0.0 version of this library. It is only the ElasticsearchClient instrumentation library that results in an error for missing file.

System.IO.FileNotFoundException: Could not load file or assembly 'Microsoft.Extensions.DependencyInjection.Abstractions, Version=10.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60'. The system cannot find the file specified.

What is the expected behavior?

A NET8.0 project referencing OpenTelemetry.Instrumentation.ElasticsearchClient should in turn reference OpenTelemetry as NET8.0, which then references OpenTelemetry.Api.ProviderBuilderExtensions as NET8.0 which finally references Microsoft.Extensions.DependencyInjection.Abstractions as NET8.0

Which alternative solutions or features have you considered?

I've considered forcing Microsoft.Extensions.DependencyInjection.Abstractions to be v10.0.0.0, but I'd like to keep the various libraries in sync if possible.

Additional context

No response

Tip

React with 👍 to help prioritize this issue. Please use comments to provide useful context, avoiding +1 or me too, to help us triage it. Learn more here.

Activity

  1. added a commit that references this issue on Jan 20, 2026
    89f73c8
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

Fields

Priority

None yet

Start date

None yet

Target date

None yet

Effort

None yet

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions