I spent yesterday writing a small utility that will diff two different sets of assemblies. So, if you’re at the PDC, you can calculate the diff between V1.1 and V1.2 of the Frameworks. This can very rapidly give you a heads up about what has been added / removed / changed in the frameworks.
This is a rather different utility than most that you’ve likely run across. It is a utility that is implemented as a set of MSBuild tasks. There are two custom tasks that I implemented. The first will take a set of assemblies and dump the names of all of their types to a flat text file. The second will shell out to diff.exe (a GNUWin32 tool) to calculate the actual difference file.
To run the utility, you need to:
- Download and unzip the files
- Download and install the GNUWin32 diffutils if you don’t have them installed already.
- Navigate to the
AssemblyDiff\Testdirectory - Run
moveit.cmd, which will copycore.dllandtasks.dllto your V1.2 Frameworks directory (\Windows\Microsoft.Net\Frameworks\V1.2.30703\on my computer). - Type
msbuildon the command prompt. - Examine the generated
diff.txtfile in the directory.
I am also writing a special edition of Practical Eye for the .NET Guy that will cover MSBuild in detail. Make sure that you register now for this newsletter! Folks that register will receive advance notice of this special issue before I post an announcement on my blog.
In the meantime, enjoy the utility. Feedback and comments are more than welcome!