Title: Message
Hi,
 
You can use the -k switch to specify a different framework.  So it would look like:
    nant -k:net-1.1
 
for the 1.1 framework.  NAnt has a number of useful command line switches (such as -projecthelp), to see a list use
    nant -help
 
 
Cheers,
 
 
Clayton
-----Original Message-----
From: Bob Archer [mailto:[EMAIL PROTECTED]
Sent: April 8, 2004 11:26 AM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: RE: [Nant-users] Compiling with .NET Framework 1.1

I put this as the first line of my build script.

 

            <property name="nant.settings.currentframework" value="net-1.1"/>          

 

I think there are a few other ways to do it also.

 

Bob

 

 


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Brian Beaudet
Sent: Thursday, April 08, 2004 2:18 PM
To: [EMAIL PROTECTED]
Subject: [Nant-users] Compiling with .NET Framework 1.1

 

How do I tell NAnt to use the CSC.exe for the .NET Framework 1.1 instead of 1.0?  I’m attempting to use Nant on a machine that does not have 1.0 installed.

 

Brian M. Beaudet

Director, Research & Development

EfficiencyLab, LLC

www.efficiencylab.com

 

Reply via email to