How to always produce byte-for-byte identical .exe on rebuild of C# application?

后端 未结 6 772
孤独总比滥情好
孤独总比滥情好 2021-02-05 07:47

I\'ll give you a little bit of background first as to why I\'m asking this question:

I am currently working in a stricly-regulated industry and as such our code is quite

6条回答
  •  不知归路
    2021-02-05 08:38

    Use ildasm.exe to fully disassemble both programs and compare the IL. Then you can "clean" the code using text-based methods and (predictably) recompile it again.

提交回复
热议问题