Is there a way to find out whether two EXEs are same?

  • Thread starter Thread starter Benny
  • Start date Start date
B

Benny

If you rebuild a solution without change anything, the new generated
EXEs still has some difference.
Is there a way to find out whether two EXEs are functional same?
 
The only differences should be in the version numbers. You can prevent the
system from automatically generating a version number by taking the
asterisks out of the AssemblyVersion attribute in the AssemblInfo.cs file
associated with your solution. When you do this the EXE's you generate
should be identical as long as you havent actually messed with the code.

--
Bob Powell [MVP]
Visual C#, System.Drawing

Ramuseco Limited .NET consulting
http://www.ramuseco.com

Find great Windows Forms articles in Windows Forms Tips and Tricks
http://www.bobpowell.net/tipstricks.htm

Answer those GDI+ questions with the GDI+ FAQ
http://www.bobpowell.net/faqmain.htm

All new articles provide code in C# and VB.NET.
Subscribe to the RSS feeds provided and never miss a new article.
 
Bob Powell said:
The only differences should be in the version numbers. You can prevent the
system from automatically generating a version number by taking the
asterisks out of the AssemblyVersion attribute in the AssemblInfo.cs file
associated with your solution. When you do this the EXE's you generate
should be identical as long as you havent actually messed with the code.

I believe there's also an autogenerated timestamp though. I once wrote
a program to compare two assemblies for this, but I no longer have it.
Unfortunately, I seem to remember that the timestamp isn't always at
*exactly* the same place.
 
Back
Top