NAnt C# Output Parsing

A discussion on the forums led to this Regular Expression for matching C# errors in NAnt output:

\w+] %f\(%l,%c

Set this as the “Custom Output Pattern” in the Tool->Console I/O options page and you can now click on errors from NAnt and jump to the correct line in your source.