I want to start testing my project using the Microsoft .Net 4.0 Beta version that has already been released. I know that adding a "net-4.0" target framework to NAnt requires updating nant.exe.config file, does anyone know what are the necessary changes?
+4
A:
If you want to use nant to build projects targeting .NET 4.0 you'll have to modify NAnt.exe.config
and add the net-4.0 target framework and add a <supportedRuntime ... />
line to the <startup>
section.
Mitch Wheat
2009-08-01 03:16:43
Thanks Mitch, you saved me a lot of messing around. I am using .Net 4.0.21006 and it works fine.
Leo Moore
2009-11-03 17:07:27
+2
A:
http://paigecsharp.blogspot.com/2009/08/nant-net-framework-40-configuration.html is a full code for .config file for NAnt.
Eugene Petrenko
2010-01-20 12:37:04