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 currently preparing the second edition of my Application Architecture workshop which is a revision to the previous Application Arch...
-
The Porsche 991 family has just got bigger as the first images of the four-wheel drive Carrera 4 and Carrera 4S models in both coupe and co...
-
4 x V8 / 27.204 cc (4 x 6.801) / supercharger / AWD / Vmax: 406,6 mph (654 km/h) / World Record 1960 (click images for a larger view)
-
* ah .. a R... a RH...ChoOOO!!!* * a R-ChoOO!!!* * a R-ChoOO!!!* *phnnnnggggt* I've been sneezing all day. *rubbing my red nose*. I deci...
-
V12 / 5.576 cc / 385 PS / 406 ft/lb (550 Nm) @ 4.000 / 0 - 62 mph (100 km/h): 6,6 s / Vmax: 155 mph (250 km/h) (click images for a larger ...
-
Santa Monica AltFuel Expo was by all standard measure an overwhelming success. Thousands packed the hangar to meander through exhibits by c...
-
O ne of the most common question that developers have when they see Windows Presentation Foundation (WPF) is "How does it affect my Win...
-
on December 31, 2011, a little past two in the afternoon, on the corner of Bixel Avenue and Wilshire Boulevard as I waited in my car for the...
-
Sept 1st and 2nd Ventura Nationals http://www.venturanationals.com/ Sept 8th Kustom Kulture San Diego Old Town 10 am 6pm http://www.fiestade...
-
T he READY Worldwide Launch at KLCC Convention Centre on Tuesday was quite an exciting event for me. Although it was pretty tiring, I'...
No comments:
Post a Comment