-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
[release/8.0] [iOS] Fix trimming warnings in HttpClientHandler.AnyMobile #91877
Conversation
Tagging subscribers to this area: @dotnet/ncl Issue DetailsBackport of #91520 to release/8.0 /cc @simonrozsival Customer ImpactTestingRiskIMPORTANT: If this backport is for a servicing release, please verify that:
|
Tagging subscribers to 'arch-android': @steveisok, @akoeplinger Issue DetailsBackport of #91520 to release/8.0 /cc @simonrozsival Customer ImpactThe code in HttpClientHandler.AnyMobile.cs produces an unactionable trimming warning when compiled with ILC. Since we are shipping NativeAOT support for iOS in .NET 8, any time customers would use TestingManually tested with RiskLow. This change is just refactoring of existing code but touches the logic that dynamically calls into Microsoft macOS/iOS/tvOS/Android and there aren't any CI tests that would catch any regressions before this change is consumed by the downstream repositories so the change can only be tested manually.
|
Needs M2 approval so we can add the |
Backport of #91520 to release/8.0
/cc @simonrozsival
Customer Impact
The code in HttpClientHandler.AnyMobile.cs produces an unactionable trimming warning when compiled with ILC. Since we are shipping NativeAOT support for iOS in .NET 8, any time customers would use
HttpClientHandler
in their apps, they would see these warnings in their build outputs.Testing
Manually tested with
xamarin/xamarin-macios
.NET 8 RC1.Risk
Low. This change is just refactoring of existing code but touches the logic that dynamically calls into Microsoft macOS/iOS/tvOS/Android and there aren't any CI tests that would catch any regressions before this change is consumed by the downstream repositories so the change can only be tested manually.