How can we help you today? How can we help you today?

SA changes file alignment

We need to post-process obfuscated assemblies.
One of the post-processes needs a file alignment of 4096 bytes but SA changes the alignment to 512bytes even if the source assembly has an alignment of 4096 bytes.
Is there any option to preserve the alignment?
If not, if there any workaround?

Thanks in advance!

Regards,
Jens
JNeck
0

Comments

4 comments

  • Brian Donahue
    Hello Jens,

    SmartAssembly writes its' file in a binary way, and the FileAlignment property is a constant 0x200 (512 bytes). You can't change this. I can log a feature request for the ability to configure it.
    Brian Donahue
    0
  • JNeck
    Hello Brian,

    Thanks for looking into this!

    For us it is very urgent to have such an option because without it we can't use SA on our newest projects.

    Is it possible for you to say if and when this feature will be available?

    Regards,
    Jens
    JNeck
    0
  • Brian Donahue
    Hi Jens,

    Honestly, no. These decisions are up to the product management who make them based on number of requests, etc.

    Some other Red Gate products are moving over to UserVoice, so maybe we can be transparent in the future if SmartAssembly also moves that way.
    Brian Donahue
    0
  • Brian Donahue
    The tracking number for this feature request is SA-842, if you need to check back with us.
    Brian Donahue
    0

Add comment

Please sign in to leave a comment.