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
-
As good as a mid-engine, rear wheel-drive supercar may be on a dry track or road, this is not the type of car you want to fool around when t...
-
Vehicle concepts by Mike Hill of FREEFALL GRAPHICS. Check out his ROBOTS and SHIPS. Keywords: concept art vehicle cars military transport ...
-
Only I can go from fashion week to mad max in one post but this Mad Max Bad Boy is freaking awesome. Some say we are living in the "end...
-
Map: DWP. River Supply Conduit Lower Reach 4 Improvement Project causing traffic and trouble breathing in the neighborhood north of Flet...
-
Volkswagen is sure not wasting any time at all getting the word around about the 2013 Golf Mk7 . After the Berlin presentation on Tuesday, ...
-
President Obama today announced $2.4 billion for battery and electric car manufacturing and deployment efforts. Green Car Congress has the ...
-
Photo: Diane Edwardson, January 21, 2012. Yesterday's rain sparkled on the Jade flowers in full bloom throughout the neighborhood. (Cl...
-
V8 / 6.059 cc / 435 PS / 420 ft/lb (569 Nm) @ 4.800 / 0 - 62 mph (100 km/h): 5,4 s / Vmax: 165 mph (265 km/h) Supercharged: V8 / 6.059 cc /...
-
The man doesn't know how to retire. GalleyCat reported that Stephen King will publish a new novel in November. I'm thrilled! Here...
-
We have been passed some photos which show a nightmarish distopian future for the drivers of Aberdeen Cars. These photos were taken over the...
No comments:
Post a Comment