>doing this will make the distribution much larger > though - a full runtime installation adds roughly 80-90megs to the > application (about 30-35megs in an installer package).
For .NET Core 3.x you could try dotnet publish -r win-x64 -c Release /p:PublishTrimmed=true Which will build a monolithic EXE with everything unnecessary stripped out. https://dev.to/mpetrinidev/reduce-the-size-of-your-app-in-net-core-3-and-above-14kj -- Alan Bourke alanpbourke (at) fastmail (dot) fm _______________________________________________ Post Messages to: ProFox@leafe.com Subscription Maintenance: https://mail.leafe.com/mailman/listinfo/profox OT-free version of this list: https://mail.leafe.com/mailman/listinfo/profoxtech Searchable Archive: https://leafe.com/archives This message: https://leafe.com/archives/byMID/c2a7336e-8c87-432d-aa78-cf5e72b40...@www.fastmail.com ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.