❔ [SOLVED] Reducing the size of an executable

hello there
what are my options to reduce the size of an executable? Here's how I publish it
dotnet publish \
-r $1 \
-c release \
-o ./publish-output \
-p:SelfContained=true \
-p:PublishAot=true \
-p:PublishTrimmed=true
Was this page helpful?