Skip to content

Conversation

github-actions[bot]
Copy link
Contributor

@github-actions github-actions bot commented Feb 5, 2022

Backport of #64818 to release/6.0

/cc @steveisok

Customer Impact

The default MAUI app does not use SocketsHttpHandler by default, but due to a missing linker substitution will still carry related assemblies. This results in an app that carries an extra 1MB more than it should.

To fix, we an additional linker substitution when the <UseNativeHttpHandler> setting is true.

Testing

Manually verified the correct assemblies were being trimmed.

Risk

Very low

Steve Pfister and others added 2 commits February 5, 2022 18:18
The linker substitution for HttpClientHandler.IsNativeHandlerEnabled only worked when <UseNativeHttpHandler> in a project was set
to false.  Since the default for MAUI projects is true, this caused us to carry more assemblies than needed.

Fixes #64361
@ghost ghost added the linkable-framework Issues associated with delivering a linker friendly framework label Feb 5, 2022
@ghost
Copy link

ghost commented Feb 5, 2022

Tagging subscribers to 'linkable-framework': @eerhardt, @vitek-karas, @LakshanF, @sbomer, @joperezr
See info in area-owners.md if you want to be subscribed.

Issue Details

Backport of #64818 to release/6.0

/cc @steveisok

Customer Impact

Testing

Risk

Author: github-actions[bot]
Assignees: -
Labels:

linkable-framework

Milestone: -

@ghost ghost added the area-System.Net label Feb 5, 2022
Copy link
Member

@eerhardt eerhardt left a comment

Choose a reason for hiding this comment

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

Looks good. Thanks!

@steveisok steveisok added the Servicing-consider Issue for next servicing release review label Feb 7, 2022
@marek-safar marek-safar added this to the 6.0.x milestone Feb 7, 2022
@steveisok steveisok added Servicing-approved Approved for servicing release and removed Servicing-consider Issue for next servicing release review labels Feb 7, 2022
@steveisok
Copy link
Member

Approved by tactics over email.

@safern safern merged commit 50b230e into release/6.0 Feb 7, 2022
@safern safern deleted the backport/pr-64818-to-release/6.0 branch February 7, 2022 21:02
@ghost ghost locked as resolved and limited conversation to collaborators Mar 10, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

area-System.Net linkable-framework Issues associated with delivering a linker friendly framework Servicing-approved Approved for servicing release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants