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
-
On March 27 the debut album from noise pop (or so they are labeled) Scottish act Strawberry Whiplash is finally being released by Matinée R...
-
I t was so rush for me till I had no time to enter an entry to my blog before I left for Seattle. As much as I could remember, it was a dark...
-
Shaka (South Africa) The Shaka Nynya, Shaka named after the founder of the Zulu nation, Chaka. Nynya is an anglicized Zulu word meaning Prow...
-
The Detroit News has the alternative fuel breakdown in the president's budget request, and it isn't pretty. Increases for hydrogen ...
-
Feels like they've been recording forever, but the self-titled Helsinki Poetry debut EP is finally available ; free to download for the...
-
My new house is almost done and I'm very excited about it. I know I should have blogged about it earlier to record the events that happe...
-
As if to demonstrate how backward this region is, today we hear that a £200 million is to be spent on that most outmoded, backward and 19t...
-
I’ve been nagging Andreas of Danish band It’s A Synth a few times recently asking for new tracks, as I’ve “grown tired” of listening to th...
-
I was experimenting with a WCF Worker Role for my Cloud sample and I encountered this error for my Workflow Service. "The channel recei...
-
"I want to see the world." T hat's the common phrase I hear nowadays. Almost everyone I know will declare that statement and t...
No comments:
Post a Comment