How do I get nant to build projects that target the .NET 4.0 Framework?
http://paigecsharp.blogspot.com/2009/08/nant-net-framework-40-configuration.html is a full code for .config file for NAnt.