You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be good to enable AOT compilation and trimming to reduce the size of the built artifacts. Currently they are at ~85Mb which is a fair bit for what is in the end a relatively small application. Things to note:
Spectre.Console.Clidoesn't support AOT and is unlikely to any time soon. To get AOT will probably need to change the CLI library to something else like System.CommandLine which does support this, although this is currently undergoing a reset so not sure on the stability of it.
Will prob need to adjust the way that config files are read to support AOT with System.Text.Json.
Maybe others, need to test it out and see what warnings appear.
The text was updated successfully, but these errors were encountered:
It would be good to enable AOT compilation and trimming to reduce the size of the built artifacts. Currently they are at ~85Mb which is a fair bit for what is in the end a relatively small application. Things to note:
Spectre.Console
supports AOT as of AOT Support for Spectre.Console spectreconsole/spectre.console#1690 but isn't in a release yetSpectre.Console.Cli
doesn't support AOT and is unlikely to any time soon. To get AOT will probably need to change the CLI library to something else likeSystem.CommandLine
which does support this, although this is currently undergoing a reset so not sure on the stability of it.System.Text.Json
.The text was updated successfully, but these errors were encountered: