Here is a patch in order to build NAnt for the Mono-4.0 profile. It was generated against the trunk at today's date.
I have identified two issues:
- Assembly.LoadFrom(String, Evidence) is deprecated in .NET 4.0. I have decorated the calls with an #ifdef.
- Mono reports a CS0419 error in a comment because of overlads of Path.Combine. I have remove the cref tag and decorate the comment with an #ifdef.