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
-
There has never been a shortage of stories in the press denigrating plug-in electric cars. Why? Because people naturally, logically believe ...
-
Berlin, Salzufer 1, Germany (by the way, this dealership is not only very nice, but also the biggest MB in Europe) 377.000 sqft (35.000 m2) ...
-
A little while ago, we wrote about the risible and disturbing idea of a bicycle-sharing scheme for Aberdeen "City and Shire" as s...
-
Photo: Diane Edwardson, June 6, 2012. Native Blue Elderberries (Sambucus mexicana) are both in bloom & fruit throughout the neighbor...
-
That's it! I just pushed the upload button! The version of Layered Architecture Solution Guidance (LASG) that is integrated with my secr...
-
Reports of the death of 4x4s greatly exaggerated A bit before Christmas, The Times splashed their front page with the almost gleeful headl...
-
V12 / 3.929 cc / 365 PS / 300 ft/lb (407 Nm) @ 5.500 / 0 - 62 mph (100 km/h): 6,0 s / Vmax: 162 mph (261 km/h) (click images for a larger ...
-
I think this dash must be Bakelite, the fore runner of plastic
-
This Australian Aborginal Toyota Art Car Basket was created using Tjanpi Grass by the Tjanpi Weavers Group headed by Artis Kantjupayi Bens...
-
2 x S4 / 2 x 1.798 cc / 740 PS / turbo / 0 - 62 mph (100 km/h): 3,1 s / Vmax: 244 mph (392 km/h) (click images for a larger view)
No comments:
Post a Comment