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

Compress single file .exe embedded assemblies #13736

Open
jjxtra opened this issue Sep 21, 2020 · 3 comments
Open

Compress single file .exe embedded assemblies #13736

jjxtra opened this issue Sep 21, 2020 · 3 comments

Comments

@jjxtra
Copy link

jjxtra commented Sep 21, 2020

Feature request: Compress (with max compression level) all the embedded clr and native assemblies in a single file exe. This should result in significant size reduction of the executable, with only a minimal impact to startup time. Maybe it could be an option that could be on or off.

Describe the solution you'd like

Provide a publish option, something like dotnet publish ... /p:CompressSingleFile=true that will compress all the assemblies inside the executable.

The size savings here are significant, I hope this will be considered :)

@jjxtra
Copy link
Author

jjxtra commented Sep 21, 2020

Just realized this is probably not the right github for this, please someone who knows a better home move it to the correct place.

@pranavkm pranavkm transferred this issue from dotnet/aspnetcore Sep 21, 2020
@NN---
Copy link
Contributor

NN--- commented Mar 30, 2021

dotnet/runtime#44569

@NN---
Copy link
Contributor

NN--- commented Mar 30, 2021

dotnet/runtime#49855

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants