Note that there are some explanatory texts on larger screens.

plurals
  1. POIdentify / Remove differences in identically build .NET exe's
    primarykey
    data
    text
    <p>I am back trying to compare two .exe's, this time with some changes.</p> <ul> <li>Building project in Microsoft Visual Studio 2010</li> <li>Project target framework = .NET Framework 3.5 Client Profile</li> </ul> <p>I build the project, run <code>dumpbin /rawdata</code> on the .exe and output to a text file. Next I re-build the project and run <code>dumpbin /rawdata</code> on the new .exe and output to a new text file. I then CRC each one to make sure they are the same (no changes are made between builds).</p> <p>I am getting different CRC values. When I run the raw data through <code>windiff</code> I am seeing differences in the <code>Raw Data #1</code> section, which I believe is actual data generated from the source code of the project (please correct if I'm wrong).</p> <p>There are 3 areas of difference in <code>Raw Data #1</code>, one of which includes a .pdb.</p> <p>Questions:</p> <ol> <li>Does anyone know where I can turn off debugging information in VS 2010 (similar to <code>Project Property Pages -&gt; Config Properties -&gt; Linker -&gt; Debugging -&gt; Generate Debug Info</code> in VS 2005)</li> <li>Are there any tricks to finding out where the highlighted differences in WINDIFF actually exist in the source code?</li> </ol> <p>Thank you, ZayJay</p> <p>PS - feel free to ask for clarifications, and thanks a ton again. I've searched for a while with little success. So glad I found this resource.</p> <p><strong>EDIT / UPDATE</strong> My shift has now turned to compiling the code with ngen to bypass MSIL and whatever was showing up as differences there. One of the differences was in this area: <code>&lt;PrivateImplementationDetails&gt;{XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX}.Dictionary</code>... and I cannot make anything from the ascii in the other difference (I got rid of the .pdb info).</p> <p><em>I would like to know if there is a way to view / extract the compiled code for viewing.</em> </p> <p>I've tried <code>ngen display "App Name"</code> and searching in <code>WINDOWS/assembly</code> but cannot find anything relevant (also, i do not know 100% what I am looking for either...)</p> <p>Thanks for your time, ZayJay</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload