Ok, that makes sense. I was updating the log4net build files to support 3.0 and 
3.5. log4net's build file attempt to build based on the user's current 
framework. If someone only has 3.0 installed will the build fail because NAnt 
doesn't support 3.0? I suspect it will because when I launched the build 
process with this command I received an error:

 nant -t:net-3.0 

Perhaps net-3.0 is never an option and a 3.0 installation reports net-2.0 being 
the current framework...

On a related note, the updating of the build files was trivial but it appears 
as if the 3.5 compile of log4net is still going into the 2.0 output directory. 
I'm was expecting it to be placed in a 3.5 folder.

----- Original Message ----
From: Gert Driesen <[EMAIL PROTECTED]>
To: Ron Grabowski <[EMAIL PROTECTED]>; nant-users@lists.sourceforge.net
Sent: Tuesday, February 26, 2008 1:23:38 PM
Subject: RE: [NAnt-users] NAnt 0.86.2898.0 on 64-bit Windows Server 
2008...nonet-3.0 ???

Ron,

We currently do not provide support for targeting .NET Framework 3.0,
although this would be easy to fix.

Gert 

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Ron Grabowski
Sent: dinsdag 26 februari 2008 21:43
To: nant-users@lists.sourceforge.net
Subject: [NAnt-users] NAnt 0.86.2898.0 on 64-bit Windows Server
2008...nonet-3.0 ???

When I run the following command:

nant -t:net-3.0

I get this output:

NAnt 0.86 (Build 0.86.2898.0; beta1; 12/8/2007)  Copyright (C) 2001-2007
Gerry Shaw  http://nant.sourceforge.net

Invalid framework 'net-3.0' specified.

Possible values include:
net-2.0 (Microsoft .NET Framework 2.0)
net-3.5 (Microsoft .NET Framework 3.5)
netcf-2.0 (Microsoft .NET Compact Framework 2.0)

It appears that I have 3.0 installed:

C:\Windows\Microsoft.NET\Framework>dir /ad /b  URTInstallPath_GAC
v1.0.3705
v1.1.4322
v2.0.50727
v3.0
v3.5
VJSharp

Any ideas why I can't target 3.0? I'm trying to build a library against all
versions of the framework installed on my machine. Why don't doesn't net-1.0
and net-1.1 appear in the list of available frameworks from NAnt?

A related question...I'm using nant on a 64-bit Windows Server 2008
installation so I have a Framework and a Framework64 directory:

C:\Windows\Microsoft.NET>dir /ad /b
authman
Framework
Framework64

Is it possible to tell nant to build against the Framework64 assemblies?

Thanks,
Ron

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft Defy all challenges.
Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
NAnt-users mailing list
NAnt-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
NAnt-users mailing list
NAnt-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users

Reply via email to