473,386 Members | 1,801 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

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

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?

Nov 17 '05 #1
2 1232
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.

"Benny" <Do***********@gmail.com> wrote in message
news:11**********************@g44g2000cwa.googlegr oups.com...
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?

Nov 17 '05 #2
Bob Powell [MVP] <bob@_spamkiller_bobpowell.net> wrote:
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.

--
Jon Skeet - <sk***@pobox.com>
http://www.pobox.com/~skeet Blog: http://www.msmvps.com/jon.skeet
If replying to the group, please do not mail me too
Nov 17 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
by: Jon | last post by:
I have 3 VB.net executables that reference the same 3 VB.Net DLLs. How is the best way to distribute the EXEs without putting 3 copies of of DLL on a user's machine. I looked into Private...
1
by: James | last post by:
I'm having a problem using the System.Net.WebClient to download .exes from a web server. I'm testing everything on localhost, and the same code works fine with all other types of file. I even tried...
2
by: mb | last post by:
I was curious if the new .NET 2.0 has optimized things to make the EXEs run faster? Thanks
1
by: Xiangliang Meng | last post by:
Hi, all. Recently, I find there is a way in our project to maintain a global set in many files by using preprocessing directives. I'm wondering if we could find a better method for this. Many...
1
by: S.J. | last post by:
Does anyone know how I may decompile EXEs to C++ source code? Please reply to my email.
1
by: shan | last post by:
hi i have a problem i have one windows service which i am installing from one other exe(in process.start simply using cmd.exe and installutil) now i want to combine these both exes into one for...
34
by: priyanka | last post by:
Hi, I was wondering if we could parse or do something in the executable( whose source language was C). How can I use some scripting language like perl/python to find out the information about...
7
by: john | last post by:
In my form I have a master table and a details table linked 1xM. I can search through the whole parent table but I also like to be able to search through the child table fields to find parent...
1
by: pavanip | last post by:
Hi, I have one windows application in that i created multiple exes.Now I am trying to build my application and combine multiple exes to one exe.But i am unable to that can you tell me the...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.