While setting up CruiseControl, I added a buildpublisher block to the publisher tasks:

<buildpublisher>
  <sourceDir>C:\MyBuild\</sourceDir>
  <publishDir>C:\MyBuildPublished\</publishDir>
  <alwaysPublish>false</alwaysPublish>
</buildpublisher> 

This works, but it copies the entire file contents of the build, I only want to copy the DLL's and .aspx pages, I don't need the source code to get published.

Does anyone know of a way to filter this, or do I need to setup a task to run a RoboCopy script instead?

Edit
Report