Skip to content
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

Single-file: Add support to generate a bundle with a specific ID #3596

Open
swaroop-sridhar opened this issue May 15, 2019 · 2 comments
Open

Comments

@swaroop-sridhar
Copy link
Contributor

The SDK support for publishing .net core apps as a single-file generates bundles with unique IDs every time. This behavior is by design, so that files from apps with different build configurations/versions do not get their extracted files mixed up.

However, in some circumstances, the user may want to re-generate bundles with the same ID for testing purposes. So add a facility to facilitate this behavior.

In this case, it is the user's responsibility to clean out extracted files before using the new build with the same ID -- otherwise files previously extracted will be reused.

@swaroop-sridhar swaroop-sridhar self-assigned this May 15, 2019
@msftgits msftgits transferred this issue from dotnet/core-setup Jan 30, 2020
@msftgits msftgits added this to the Future milestone Jan 30, 2020
@maryamariyan maryamariyan added the untriaged New issue has not been triaged by the area owner label Feb 23, 2020
@jeffschwMSFT jeffschwMSFT removed untriaged New issue has not been triaged by the area owner area-Single-File labels Feb 24, 2020
@swaroop-sridhar swaroop-sridhar removed their assignment Sep 8, 2020
@agocke agocke added this to AppModel Jul 28, 2022
@elinor-fung
Copy link
Member

@VSadov thoughts on if this is still desired now the default scenario doesn't extract and I believe extraction is limited to opt-in properties?

@ghost
Copy link

ghost commented Oct 6, 2022

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

Issue Details

The SDK support for publishing .net core apps as a single-file generates bundles with unique IDs every time. This behavior is by design, so that files from apps with different build configurations/versions do not get their extracted files mixed up.

However, in some circumstances, the user may want to re-generate bundles with the same ID for testing purposes. So add a facility to facilitate this behavior.

In this case, it is the user's responsibility to clean out extracted files before using the new build with the same ID -- otherwise files previously extracted will be reused.

Author: swaroop-sridhar
Assignees: -
Labels:

area-Single-File

Milestone: Future

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: No status
Development

No branches or pull requests

5 participants