According to the NAnt website, NAnt supports .Net Framework 4.0 but only the Mono 3.5 Profile. Is there any way to use NAnt while developing a C# 4.0 app using Mono 2.8?
Use premake instead.