title: What are these differences in two DLL file generated from the same source code
body: <p>All my code is under source control, so I'm 100% sure that the source code hasn't changed. But if I build a C# DLL two times their content is slightly different. I can reproduce the problem 100% of the time by just building, and then building again.</p>
  
  <p>This doesn't seem to impact the program at all, but tools like MSIMSP, used for creating patches from two MSI files are thrown off by these minute changes. Making patches (for my product) 40x bigger than they should be.</p>
  
  <p>I've decompiled both DLLs and their assembly information, classes, etc... are exactly the same. The files are also exactly the same size, but of course have a different creation time. So I really cannot fathom what has changed.</p>
  
  <p><strong>So I dug a little deeper.</strong> </p>
  
  <p>I've used WinDiff to find the changes and then cross referenced these in a hex editor. WinDiff shows a change in the second 'line' and in a line at about 80% of the file. </p>
  
  <p>In the hex editor I see that the first byte that is changed is byte 0x088 (byte 136). This seems to be the only byte changed on this 'line'. I trouble finding the second change as WinDiff doesn't tell me the exact byte offset of the change.</p>
  
  <p>Here is an image of the changes, the right file is the contents of the newer file.
  <a href="https://i.stack.imgur.com/hKCHb.png" rel="noreferrer"><img src="https://i.stack.imgur.com/hKCHb.png" alt="Hex view"></a></p>
  
  <p>Does anybody familiar with the make-up of (C#) DLL files know what the changed byte might mean? Or better yet how to make sure that DLL files stay exactly the same when you rebuild them?</p>