Never mind.

I found that setting the property "nant.settings.currentframework" will allow me to change the framework from 2003 to 2002.  This seems to be working for me.

 


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Beth Hechanova
Sent: Tuesday, July 05, 2005 10:22 AM
To: nant-users@lists.sourceforge.net
Subject: [Nant-users] using nant with different versions of Visual Studio

 

Hi,

 

I have a product that has different components that are built with different versions of Visual Studio products – i.e. VC++ 6.0, Visual Studio .NET 2002, and Visual Studio .NET 2003.  I would like to create one NAnt script that will build all the various components.

 

I’ve been using the “solution” tag to compile the 2003 solutions, which works just fine:

    <target name="build" description="compiles the source code">

      <solution solutionfile="myProject.sln" configuration="Debug"/>

    </target>

 

But if I try that with any of the other older solutions / projects, I get errors.  What do I need to set up in my NAnt script to specify specific versions of .NET or VC++ in order to compile a .net solution or c++ project?

 

Thanks,

Beth

 

Reply via email to