Title: Message

 

 

-----Original Message-----
From: Brian Beaudet [mailto:[EMAIL PROTECTED]
Sent: Thursday, April 08, 2004 2:47 PM
To: 'Clayton Harbour'
Subject: RE: [Nant-users] Compiling with .NET Framework 1.1

 

Thanks Clayton.

 

I’m not quite ready to start learning the switches yet.  I’m so overwhelmed with what’s in front of me.  I’m getting closer to getting a successful build on a real project. 

 

As soon as I can though, I’ll be digging deeper.  Thanks for the help.

 

Brian

 

P.S. I found an older post right regarding this situation and it states to use one of the 0.85 nightly builds since it contains the option to use whichever framework is being targeted by the assemblies being built.  That’s what I’ve done and it works like a charm.

 

-----Original Message-----
From: Clayton Harbour [mailto:[EMAIL PROTECTED]
Sent: Thursday, April 08, 2004 2:43 PM
To: Bob Archer; [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: RE: [Nant-users] Compiling with .NET Framework 1.1

 

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