[Request] Remove --self-contained true from builds #648

Closed
opened 2026-01-29 16:20:01 +00:00 by claunia · 2 comments
Owner

Originally created by @mnadareski on GitHub (Nov 7, 2023).

Originally assigned to: @mnadareski on GitHub.

--self-contained true allows for programs to be run without the .NET runtimes for that version to be installed. The downside is that this means that all users will need the runtimes to be installed separately and kept up to date. This tradeoff needs to be carefully considered.

It may be worthwhile to start only with CI builds and then move on from there.

Originally created by @mnadareski on GitHub (Nov 7, 2023). Originally assigned to: @mnadareski on GitHub. `--self-contained true` allows for programs to be run without the .NET runtimes for that version to be installed. The downside is that this means that all users will need the runtimes to be installed separately and kept up to date. This tradeoff needs to be carefully considered. It may be worthwhile to start only with CI builds and then move on from there.
claunia added the enhancement label 2026-01-29 16:20:01 +00:00
Author
Owner

@mnadareski commented on GitHub (Nov 8, 2023):

Some experiments around this showed a reduction in the size of the created executables, but the executables are still large due to the publish to single file. More time will be needed to determine if this is a reasonable tradeoff.

@mnadareski commented on GitHub (Nov 8, 2023): Some experiments around this showed a reduction in the size of the created executables, but the executables are still large due to the publish to single file. More time will be needed to determine if this is a reasonable tradeoff.
Author
Owner

@mnadareski commented on GitHub (Nov 15, 2023):

Tests have continually shown that this does not provide a significant improvement in size and only reduces the ability to run by itself. This is not going to be done.

@mnadareski commented on GitHub (Nov 15, 2023): Tests have continually shown that this does not provide a significant improvement in size and only reduces the ability to run by itself. This is not going to be done.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: SabreTools/MPF#648