I was wondering if there is a technical explanation of Visual Studio executables file size is always a multiple of 512 bytes. In order to reach the wanted size, Visual Studio adds zero padding to the tail of the executable. Is there an advantage to have this? Is it controllable?
Asked
Active
Viewed 82 times
2
-
https://stackoverflow.com/questions/5206312/for-what-reason-would-i-choose-a-c-sharp-compiler-file-alignment-setting-other-t – Hans Passant Feb 08 '22 at 16:52