Breaking Change in Cruise Control .NET 1.6

Building on my earlier post about Setting up Cruise Control .NET 1.5/1.6 on Windows 7 + IIS7, I have identified a breaking change with CruiseControl .NET 1.6.x.

For readability, I like to place each -D flag in my <buildArgs> definition on a separate line

    -D:LocalDeployRoot=D:cideployMyProject </buildArgs>

however in upgrading to version 1.6.x, I have come across a breaking change. Using the same script in my 1.6.x implementation, I was getting the eror message Target ‘ ‘ does not exist in this project. I confirmed that the NAnt script worked by calling it directly with the same parameters that I was defining via my CCNET project configuration.

After looking into the issue for a while (and even posting a question on StackOverflow) I found a clue when reading through the server log. I noticed that the target was being specified to nant.exe following the <buildArgs> definitions along with the white spaces and newlines. Removing the white space and newlines resolved the issues.

<buildArgs>-D:SolutionFile="$(Batch_WorkingFolderTrunk)MySolution.sln" -D:LocalDeployRoot=D:cideployMyProject</buildArgs>

I have logged a bug report with the Cruise Control .NET team regarding this issue.

Batch Image Resize

I have been looking around for a method to resize multiple images in a single batch. There have been a number of downloadable tools and shell integration solutions, but I was hoping to find an online tool to do just that.

Not finding a solution that I liked, I decided to build one. Take a look at the Batch Image Resize tool and let me know what you think. There also a Facebook page for the tool.


  1. Upload the pictures you want to work with. The upload tool uses Uploadify to support mult-file uploads.
  2. Enter the desired maximum width and height
    • Images that are smaller than the specified dimensions are left unmodified.
  3. Clicking ‘Shrink my pictures’ generates a zip file with your resized images.


All uploaded pictures are deleted within 5 minutes of inactivity.
11/7/2011 – Scott Hanselman’s recent blog entry talks about a similar library for .NET