Just build NAnt using the following command line :
 
NAnt.exe -buildfile:NAnt.build -k:net-1.1
 
Note : in the NAnt 0.84 release, the information shown in the logo banner is fixed (meaning its not regenerated on every build), so although you've built NAnt targeting the .NET Framework 1.1, the logo banner will still say it's targeting net-1.0.
 
This has been fixed in cvs now, but I haven't yet had time to upload a new nightly build ... but expect one later today (http://nant.sourceforge.net/nightly/builds)
 
Gert
----- Original Message -----
From: Rich Denis
Sent: Wednesday, February 04, 2004 5:08 AM
Subject: [Nant-users] NAnt to use 1.1 instead of 1.0

Hello,
  I am a new user to NAnt.  In learning to use it I am trying to build some of the examples in the download.  I would like it to compile against the 1.1 framework but when I run the nant ant agains the build file I get this:
 
C:\Development\Other Stuff\NAnt\nant-0.84\examples\UserTask>nant
NAnt 0.84 (Build 0.84.1455.0; net-1.0.win32; release; 12/26/2003)
Copyright (C) 2001-2003 Gerry Shaw
http://nant.sourceforge.net
 
It looks to me that it is building against the 1.0 framework.  How can I change this?  Any help pointing me to the right docs would help.   A direct answer would be even better.  Thanks. :)
 
Rich

Reply via email to