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

Using dotnet core linker #844

Open
anthonydresser opened this issue Aug 6, 2019 · 0 comments
Open

Using dotnet core linker #844

anthonydresser opened this issue Aug 6, 2019 · 0 comments

Comments

@anthonydresser
Copy link
Contributor

anthonydresser commented Aug 6, 2019

Dotnet core has a built in linker that can be used to decrease the overall package size of our application, by passing in the -o linked argument into the publish command.

In my testing it reduced the size of the binaries from 435 files totalling 119 MB to 15 files totalling 4.3 MB. This is quite the savings.

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

1 participant