You're correct Paul, the C:\Windows\Microsoft.NET\Framework\v3.0 directory doesn't have a csc.exe in it like the v2.0 and v3.5 folders do. That makes sense since v3.0 uses the v2.0 CLR.
My underlying issue is that I'm trying to make a v3.5 compile of an assembly. I believe I've set this property correctly: <property name="nant.settings.currentframework" value="net-3.5" /> but whenever I look at my assembly in Reflector it references version 2.0.0.0 of System. Is that correct or should a 3.5 compiled assembly reference the 3.5.0.0 version of System? Am I correct in saying that a 3.5.0.0 of System does not exist because I'm still building against the 2.0 CLR? Thanks, Ron ----- Original Message ---- From: Paul LeBlanc <[EMAIL PROTECTED]> To: Ron Grabowski <[EMAIL PROTECTED]>; nant-users@lists.sourceforge.net Sent: Tuesday, February 26, 2008 12:55:08 PM Subject: RE: [NAnt-users] NAnt 0.86.2898.0 on 64-bit Windows Server 2008...nonet-3.0 ??? 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