Ron, You can inject this into your run target to check programatically:

     <if test = "${framework::exists('net-3.0')}">
       <echo message="=== Framework 3.0 exists =====" />    
     </if>

You can visually look into that 3.0 directory too, and I would bet that
there's nothing there.  Why does the top level directory exist then?
Good question. Maybe somebody uninstalled the framework or something?
Weird but I've seen it.

Good luck.

Paul

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Ron
Grabowski
Sent: Tuesday, February 26, 2008 3:43 PM
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

Notice:  This email message, together with any attachments, may contain 
information  of  BEA Systems,  Inc.,  its subsidiaries  and  affiliated 
entities,  that may be confidential,  proprietary,  copyrighted  and/or legally 
privileged, and is intended solely for the use of the individual or entity 
named in this message. If you are not the intended recipient, and have received 
this message in error, please immediately return this by email and then delete 
it.

-------------------------------------------------------------------------
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