Search code examples
antnant

Nant equivalent of the Ant Replace task


Looking for the equivalent of Ant Replace task in Nant


Solution

  • As far as I can tell, the filter features in NAnt is exactly what you're looking for. Supported by the <copy> and <move> tasks, you define token replacement expressions that will transform file content during file copy/move operations.