Skip to content

[release/10.0-preview6] Fix HttpClientHandler.CreateNativeHandler implementation #116767

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

Merged

Conversation

github-actions[bot]
Copy link
Contributor

@github-actions github-actions bot commented Jun 17, 2025

Backport of #116707 to release/10.0-preview6

/cc @jkoritzinsky

Customer Impact

  • Customer reported
  • Found internally

[Select one or both of the boxes. Describe how this issue impacts customers, citing the expected and actual behaviors and scope of the issue. If customer-reported, provide the issue number.]

When the user tries to use HttpClient in their .NET on iOS, .NET on tvOS, .NET on Mac Catalyst, or .NET on Android app, a BadImageFormatException is thrown instead of the operation being successful.

Regression

  • Yes
  • No

[If yes, specify when the regression was introduced. Provide the PR or commit if known.]

da80937

Testing

[How was the fix verified? How was the issue missed previously? What tests were added?]

Local validation

Risk

[High/Medium/Low. Justify the indication by mentioning how risks were measured and addressed.]

Low, manually validated

IMPORTANT: If this backport is for a servicing release, please verify that:

  • The PR target branch is release/X.0-staging, not release/X.0.

Package authoring no longer needed in .NET 9

IMPORTANT: Starting with .NET 9, you no longer need to edit a NuGet package's csproj to enable building and bump the version.
Keep in mind that we still need package authoring in .NET 8 and older versions.

@jkoritzinsky
Copy link
Member

@jonathanpeppers will the change you made for the return type be in P6 or do we need to add back the return type adjustment here?

@jonathanpeppers
Copy link
Member

@jonathanpeppers will the change you made for the return type be in P6 or do we need to add back the return type adjustment here?

We haven’t branched for preview 6 just yet, so it will be there.

@jkoritzinsky jkoritzinsky added the Servicing-consider Issue for next servicing release review label Jun 17, 2025
Copy link
Member

@jeffschwMSFT jeffschwMSFT left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm. we will take for consideration in 10 preview 6

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Servicing-approved Approved for servicing release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants