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 ...
-
Most developers when developing Windows Communication Foundation (WCF) services, will take security for granted and deploy their web service...
-
From the GM Cadillac Media blog - Cadillac announced today it will return to racing in 2011 with a race-prepared version of its CTS-V Coupe...
-
Located in Horton Plaza, under the garish glare of a Planet Hollywood sign, the Pacific Milestone seems painfully out of place today. Howeve...
-
Note to self: need to give their new album a few more tries... Every morning when the girls and I are having breakfast the radio is on , an...
-
Election blog 2008central.net points us to an unexpected positive and apt analogy to electric cars by a Republican candidate for President....
-
Writing is hard. Writing for an agent is even harder. Writing for an editor considering your book but wanting a rewrite first is like climbi...
-
Apparently former Green Concorde frontman Morten Espersen Dam is no longer a part of No Blood In Bones . Always sad/frustrating to see a ...
-
I've just managed to installed Window 7 Beta (x64) today. I was already running the M3 build for about a month and so, I guessed it is o...
-
Been trying to make an entry the whole day but was busy. Finally, few hours before bed-time. Have been reading up lots of SOA stuff these 2...
No comments:
Post a Comment