Search code examples
nant

How to create a file using Nant script


I want to create a file using nant script. Like mkdir any command is awailable in nant script for creating a text or doc file?


Solution

  • You can use <touch> task to create files (or update their timestamps). Using <echo> you can output plain text to a file. <xmlpoke> allows manipulating XML files.