-
-
Notifications
You must be signed in to change notification settings - Fork 19
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
Enable .NET IL trimming to reduce app size #54
Conversation
Error when clicking "Contact the developer" button in settings page:
|
|
Replaced |
Visual Studio App Center SDK uses |
Remove "TaskScheduler" nuget package from dependencies since it uses COM and is incompatible with IL trimming.
0801221
to
486b80e
Compare
Reverted because it breaks App Center telemetry. |
Solve #14 .
Currently the
TrimMode
is set topartial
, sincefull
is too aggressive.Need some time to test and make sure it doesn't break app's functionality.
Size comparision
App size is reduced by 50%.
Note
TaskScheduler
is removed from dependencies because it uses COM to interact with Windows Task Scheduler and is incompatible with IL trimming.Instead I use
schtasks
get the status of the admin startup schedule task.