Skip to content

[release/5.0] Extract bundled files when IncludeAllContentForSelfExtract is set#42934

Merged
agocke merged 2 commits into
dotnet:release/5.0from
agocke:backport/pr-42435-to-release/5.0
Oct 2, 2020
Merged

[release/5.0] Extract bundled files when IncludeAllContentForSelfExtract is set#42934
agocke merged 2 commits into
dotnet:release/5.0from
agocke:backport/pr-42435-to-release/5.0

Conversation

@agocke
Copy link
Copy Markdown
Member

@agocke agocke commented Oct 1, 2020

Description

Backport of #42435 to release/5.0.

This change fixes the "3.1 compat mode" for single-file. This flag allows people to return to the previous "extraction" behavior of single-file that was available in 3.1.

Customer impact

In certain scenarios, like use of changed APIs in a dependent library, this may be the only workaround for users who were previously using the 3.1 version of single-file. In compat testing, we found as many as half of the applications which worked with single-file were broken with the 5.0 changes.

Regression

The 3.1 -> 5.0 mode was an intentional breaking change, and this mode was intended to be present to mitigate the break.

Testing

Manual testing of all of the app compat libraries, both in the compat scenario, and in 5.0 after the compat fix.

Risk

This change is entirely in single-file. It is a large change and bares moderate risk, but the risk would be isolated to single-file publishing.

(cherry picked from commit 0be66cb)

@Dotnet-GitSync-Bot Dotnet-GitSync-Bot added the area-Infrastructure-coreclr Only use for closed issues label Oct 1, 2020
@ghost
Copy link
Copy Markdown

ghost commented Oct 1, 2020

Tagging subscribers to this area: @agocke
See info in area-owners.md if you want to be subscribed.

@agocke agocke added this to the 5.0.0 milestone Oct 1, 2020
@agocke agocke changed the title Extract bundled files when IncludeAllContentForSelfExtract is set (#4… [release/5.0] Extract bundled files when IncludeAllContentForSelfExtract is set (#4… Oct 1, 2020
@vitek-karas
Copy link
Copy Markdown
Member

Are we going to merge with the other PR about native libs as well?

@jeffschwMSFT jeffschwMSFT added Servicing-consider Issue for next servicing release review and removed area-Infrastructure-coreclr Only use for closed issues labels Oct 1, 2020
Copy link
Copy Markdown
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.

Approved. Please get crs and add the customer impact in the description. We should consider this for GA

@leecow leecow added Servicing-approved Approved for servicing release and removed Servicing-consider Issue for next servicing release review labels Oct 1, 2020
@agocke agocke changed the title [release/5.0] Extract bundled files when IncludeAllContentForSelfExtract is set (#4… [release/5.0] Extract bundled files when IncludeAllContentForSelfExtract is set Oct 1, 2020
@agocke
Copy link
Copy Markdown
Member Author

agocke commented Oct 1, 2020

@vitek-karas Yes, I'm going to add the commit from #42876 once that is merged

)

Add two directories to NATIVE_DLL_SEARCH_DIRECTORIES to single-file bundles:

1. The bundle exe directory
2. If the bundle extracts any files, the extraction directory

Fixes dotnet#42772

(cherry picked from commit 0403018)
@agocke
Copy link
Copy Markdown
Member Author

agocke commented Oct 2, 2020

This should be up to date and ready for final review

@agocke agocke merged commit 3c6e6cc into dotnet:release/5.0 Oct 2, 2020
@agocke agocke deleted the backport/pr-42435-to-release/5.0 branch October 2, 2020 17:12
@ghost ghost locked as resolved and limited conversation to collaborators Dec 7, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

blocking-release Servicing-approved Approved for servicing release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants