you've summed it up well ...

you can ofcourse still control the framework you're targeting using :

- the NAnt configuration file
- the -defaultframework (-k) command line option
- the nant.settings.currentframework property

Gert

----- Original Message ----- 
From: "Rich Denis" <[EMAIL PROTECTED]>
To: "Gert Driesen" <[EMAIL PROTECTED]>;
<[EMAIL PROTECTED]>
Sent: Wednesday, February 04, 2004 5:33 PM
Subject: Re: [Nant-users] NAnt to use 1.1 instead of 1.0


Thanks for the input.  I was able to build against the 1.1 framework, now
what I am not too sure of is the following statement in the release notes of
.84 RC1 which states:

a.. On systems with both the .NET Framework 1.0 and .NET Framework 1.1
installed, NAnt will now execute on the .NET Framework 1.1 by default. Note,
the default target framework has remained unchanged, and is still .NET
Framework 1.0.

Does this mean that even if I am building against the 1.0 framework that
when NAnt runs it is running in the context of the 1.1 framework and then
initialize an instance of the 1.0 compilers to do everything?  I am thinking
that is what it means I just want to make sure I am following it correctly.
Thanks


Rich
  ----- Original Message ----- 
  From: Gert Driesen
  To: Rich Denis ; [EMAIL PROTECTED]
  Sent: Wednesday, February 04, 2004 1:47 AM
  Subject: Re: [Nant-users] NAnt to use 1.1 instead of 1.0


  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
    To: [EMAIL PROTECTED]
    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



-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
Nant-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-users

Reply via email to