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

Publish GCM-Core as Trimmed self-contained executable on Linux #182

Open
kyle-rader opened this issue Sep 25, 2020 · 3 comments
Open

Publish GCM-Core as Trimmed self-contained executable on Linux #182

kyle-rader opened this issue Sep 25, 2020 · 3 comments
Assignees
Labels
engineering Refactoring or build changes enhancement New feature or request
Milestone

Comments

@kyle-rader
Copy link
Contributor

Enable publishing as Trimmed on Linux

This should reduce the binary size quite substantially but will require some thorough testing.

@kyle-rader kyle-rader added enhancement New feature or request engineering Refactoring or build changes labels Sep 25, 2020
@kyle-rader kyle-rader self-assigned this Sep 25, 2020
@vtbassmatt
Copy link
Contributor

This would be beneficial. I understand that .NET 6 will have even better trimming, so perhaps when we take that upgrade, we can address this.

@HumbleBee-code

This comment was marked as spam.

@ldennington
Copy link
Contributor

To enable trimming we would need to:

  1. Migrate from Newtonsoft.Json to Sytem.Text.Json in Source Generator Mode.
  2. Migrate to .NET 7 where trimming is much improved.
  3. Update MSAL and System.Commandline and Avalonia to the latest (preview) versions that support trimming.
  4. Thorough testing.

@ldennington ldennington added this to the Future milestone Feb 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
engineering Refactoring or build changes enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

6 participants
@vtbassmatt @kyle-rader @mjcheetham @ldennington @HumbleBee-code and others