Investigate PublishTrimmed for smaller executable #43
Labels
question
Further information is requested
software improvement
Change that improves the software, but the user's experience remains largely unchanged
Issue
The .exe that is generated by the build process is around 70MB. Dotnet apps are known to be large but it may be possible to reduce this size by implementing tree trimming using the property on the csproj. Initial results show a size closer to 15MB.
Concerns
Simply turning on PublishTrimmed puts the built application into to a non-working state as Refit and Spectre.Console are both currently unsupported in AOT Trimmed mode. There are potential solutions for Spectre.Console in this thread.
Refit has yet to be investigated.
The text was updated successfully, but these errors were encountered: