ConfuserEx icon indicating copy to clipboard operation
ConfuserEx copied to clipboard

Selectable Assembly Packing [Feature]

Open alexmurari opened this issue 6 years ago • 3 comments

The compressor doesn't allow to select which assemblies you do want to pack into your executable module.

Let's say you have 5 DLLs, but you only want the compressor to pack three of them into your EXE, the other two you want as-is, unpacked.

Today all DLLs are packed. This issue is to request a feature to allow you to choose which assemblies will be packed.

alexmurari avatar Feb 25 '19 19:02 alexmurari

I got this on my todo list. I actually want to extend this to a ILMerge like feature as alternative to the compressor, where both can be activated per assembly.

mkaring avatar Feb 25 '19 22:02 mkaring

Thinking about it some more it may also be handy if it can be declared what the target assembly for the packer is. So you don't have to pack everything into the main assembly. This way it would be covered if you have a applications with multiple executables that use the same “main“ assembly. For example how dnspy does it with the 64bit and the 32bit executable.

mkaring avatar Feb 26 '19 10:02 mkaring

@mkaring Agree. This would provide the necessary flexibility when packing the application, specially when dealing with multi-platform executables. I think it would be great!

alexmurari avatar Feb 26 '19 12:02 alexmurari