Skip to content

Migrate the Azure Functions sample to Azure.Functions.Sdk and net11.0 #5548

Closed

Description

@jamescrosswell

Description

samples/Sentry.Samples.OpenTelemetry.AzureFunctions is the one sample still on net10.0 after the .NET 11 bump in #5529. Everything else moved to net11.0.

The sample builds with Microsoft.Azure.Functions.Worker.Sdk, which won't get .NET 11 support. Both 2.0.7 (pinned) and 2.1.0 (latest) reject net11.0 with Invalid combination of TargetFramework and AzureFunctionsVersion is set. From 2.1.0 its targets also warn that .NET 11 requires the new Azure.Functions.Sdk MSBuild SDK. That SDK reached 1.0 in September 2026.

What to do

Migrate the sample to Azure.Functions.Sdk (the package README has a migration guide) and target net11.0:

No C# changes are needed.

Refs

Activity

  1. added this to the 7.0.0 milestone on Sep 8, 2026
  2. added
    .NET
    upstream-watch
    on Sep 8, 2026
  3. linear-code commented on Sep 8, 2026

    @linear-code
  4. changed the title [-]Re-target the Azure Functions sample to net11.0 once the Functions Worker SDK supports it[/-] [+]Migrate the Azure Functions sample to Azure.Functions.Sdk and net11.0[/+] on Oct 20, 2026
  5. removed
    upstream-watch
    on Oct 20, 2026
  6. added a commit that references this issue on Oct 21, 2026
    7f1d32c
  7. jamescrosswell commented on Oct 22, 2026

    @jamescrosswell
    CollaboratorAuthor

    Completed by #5752 (merged into version7).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

.NETTask

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions