In the process of writing a custom task for NAnt. I am based on how I write code based on some examples that I found on the Internet and looking at the source of some other tasks for both NAnt and Ant.
With that said, are there any tips or tricks for writing good tasks for build managers like NAnt, Ant, or MSBuild? I am looking for such methods of handling exceptions and modularity (i.e. if my task does something with the file structure, I must delete and recreate the output file / directory of my task or somehow create a backup, etc.).
EDIT: I'm looking for recommendations on creating custom tasks. If I wanted to create my own task for NUnit or Selenium or compile F # (I know that they already exist, but just say that these tasks are not in the original core of most build managers), what are some best practices for writing my own task, I have no problem with assembly files. Just look at the manual for writing new compiled tasks.
thank
source
share