Ok! It turns out that the project I was working on previously about the .NET assembly comparison; it wasn't a compare on one or two .exes or .dlls but to compare about 200 assemblies. *GiAiAiAH* Yeah! That means I gotta do this for approximately 200 times?! *That's Totally iNSaNe!*
But then, before you say, "What's the big deal? You can write a C# program wot?" I would like to assure you that I have thought about that as well, but then, I felt that writing a C# program just to do all that is too overkill. So, I have decided to use a much simpler and traditional approach instead - DOS!
Here's how I did it. To produce the MSIL, I ran the following once in each of the source and target folder:
for %i in (*.dll) do ildasm %i /out=c:\output\source\%i.il
I substituted c:\output\source with c:\output\target for the target assemblies. If your assemblies are executables, replace the *.dll with .exe.
To compare the files, I simply typed:
for %i in (*.il) do fc c:\output\source\%i c:\output\target\%i > c:\output\results\%i.txt
That's It! Cool huh?
Popular Post
-
I'm a sexy mix between the The Multi-tasker and the All-the-Timer/Compulsive/Voracious/Anything Goes Reader. What are you? What Kind ...
-
Biodiesel supercar is Brit first British firm Trident has broken the supercar mould with its new Iceni, by marrying stunning performance wi...
-
S4 / 1.984 cc / 200 PS / 207 ft/lb (280 Nm) @ 1.700 - 5.000 / turbo / AWD (click images for a larger view)
-
Office Chair Bike Wood Bike Drift Wood Bike Wood High Wheel Compact Bike Triangle Bike Scooter Bike photos via woodenbikes.com Tom Kabat is...
-
Nigerian Armoured Vehicle A Nigerian made armoured car was on Thursday launched by President in this month of August 2009 at the eagle squar...
-
The South African built Revo is a perfect example of true innovation at it's finest. It was built by, Achim Bergmann of Thompson Racing,...
-
With the 2012 Moscow Motor Show (August 31 to September 9 for the public) just around the corner, Mazda has released a full set of photos a...
-
The onslaught of new and updated production cars and concept models from Peugeot that are heading to the Paris Motor Show (including the 200...
-
V8 / 5.354 cc / 284 PS / 360 ft/lb (488 Nm) @ 3.000 / 0 - 62 mph (100 km/h): 6,2 s / Vmax: 138 mph (222 km/h) (click images for a larger v...
-
The Detroit News has the alternative fuel breakdown in the president's budget request, and it isn't pretty. Increases for hydrogen ...
No comments:
Post a Comment