Bob,

 

Thanks for the reference.

 

I am using Nant on two separate workstations.  I installed Nant Version
0.86 on both machines.  In both cases, I edited the Nant configuration
file and set:

 

       <frameworks>
            <platform name="win32" default="net-3.5">

 

            .....
 

       </frameworks>



On one workstation, all is well.  The <msbuild> task correctly
references the .NET 3.5 framework.

 

On our build server, I get the following error:

 

NAnt 0.86 (Build 0.86.2898.0; beta1; 12/8/2007)

Copyright (C) 2001-2007 Gerry Shaw

http://nant.sourceforge.net

 

 

BUILD FAILED

 

Microsoft .NET Framework 3.5 (net-3.5) is not installed, or not
correctly configured.

 

    Object reference not set to an instance of an object.

 

For more information regarding the cause of the build failure, run the
build again in debug mode.

 

Try 'nant -help' for more information

 

 

I reinstalled / repaired the installation of .NET Framework 3.5 on this
server, but that did not solve this problem.  If I set the default
platform back to 'net-2.0', it works find (as long as I don't reference
VS 2008 solutions files).

 

Do you or anyone have any thoughts or suggestions as to why I am getting
the error above?  Are there any additional OS or .NET components that
need to be installed to support Nant with the .NET version 3.5
framework?

 

Thanks,

 

Ken Parrish

Gomez, Inc.

 

From: Bob Archer [mailto:[EMAIL PROTECTED] 
Sent: Monday, October 20, 2008 5:35 PM
To: Parrish, Ken; nant-users@lists.sourceforge.net
Subject: RE: [NAnt-users] MSBuild task and .NET 3.5

 

You specify the framework targeting property when you start nant. Here
is the faq on it. 

 

http://nant.sourceforge.net/faq.html#framework-support

 

Bob

 

 

________________________________

From: Parrish, Ken [mailto:[EMAIL PROTECTED] 
Sent: Monday, October 20, 2008 5:06 PM
To: nant-users@lists.sourceforge.net
Subject: [NAnt-users] MSBuild task and .NET 3.5

 

Does anyone know how to insure that the <msbuild> task targets the
version of MSBuild in the .NET Version 3.5 framework directory?  Is it
necessary to set the system path or is there a way to direct the
<msbuild> task to use a particular version of MSBuild?

 

Thanks,

 

Ken Parrish

Gomez, Inc.

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
NAnt-users mailing list
NAnt-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users

Reply via email to