Hacker News new | ask | show | jobs
by Dwedit 38 days ago
It's that RICH header that you need to exclude. I just tested my copy of MSVC 2019, and `/emittoolversioninfo:no` will exclude the RICH header from the binary. Supposedly also works in MSVC 2022.

The build timestamps in the PE header and export table are also a problem as well.