Ever needed to search a bunch of files to see if they contain a certain text fragment? Well I did, and now I needed to do this from a build script so the Windows Explorer was no option. At first I looked into using a windows port of grep, but since I preferred to have XML output I decided to write a small custom task for NAnt to do this.

Continue Reading »