"How to setup .NET Framework 1.1 as supported runtime for Nant ?"

Nant is a extreme powerful tool for real .net develper, but it 's not easy to let it compile project with 1.1.
In NAnt.exe.config if you turn on defaultframework="net-1.1" , you will get a lot warning or error message and the project is still compiled with framework 1.0, looks the current version of nant 0.8.3 get some bug here.
I add a new frameworkinfo under framworks section

<frameworkinfo name="hardcoded1_1" description="1.1" version="1.0.0000" runtimeengine="" csharpcompilername="csc" basiccompilername="" jsharpcompilername="" jscriptcompilername="jsc" resgenname="resgen">

<sdkdirectory dir="C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322" />

<frameworkdirectory dir="C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322" />

<frameworkassemblydirectory dir="C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322" />

</frameworkinfo>


and set the default framework to "hardcoded1_1", and it work very well
The blogx I am using here is compiled by Nant with this configurateion.

Ref : http://nant.sourceforge.net/

Add New

Name

Email

Homepage

Content (HTML not allowed)