OK, thanks Paul. So I have reset the NAnt.exe.config values back to their original values.
And I run NAnt, specifying the target framework as .NET 3.5: c:\build\Titan>nant -f:environment.build IdentifyEnvironment -t:net-3.5 NAnt 0.86 (Build 0.86.2898.0; beta1; 12/8/2007) Copyright (C) 2001-2007 Gerry Shaw http://nant.sourceforge.net 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. That doesn't look correct! I installed .NET 3.5 from the Microsoft package and then did a reboot. So what do I try now? Paul LeBlanc wrote: > Mike, I'm a newbie at this but it seems fine to me since the CLR version > has not changed for 3.0 or 3.5. The "net-3.5" should tell you which > framework, and the rest is CLR related. > > Paul > > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Mike > Frederick > Sent: Monday, March 10, 2008 3:52 PM > To: nant > Subject: [NAnt-users] Using 0.86 beta 1 for .NET 3.5 > > I got NAnt 0.86 beta1 and was trying to build some new code. The > following is an excerpt from the NAnt.exe.config file: > > <framework > name="net-3.5" > family="net" > version="2.0" > description="Microsoft .NET Framework 3.5" > sdkdirectory="${path::combine(sdkInstallRoot, > 'bin')}" > frameworkdirectory="${path::combine(installRoot, > 'v3.5')}" > > frameworkassemblydirectory="${path::combine(installRoot, 'v2.0.50727')}" > clrversion="2.0.50727" > > > > and NAnt complains that .NET 3.5 is not instlled--even though it is. > > Some of the values above strike me as odd... > > 1) version="2.0" ... In the case of all the other .NET version, this > number matches the version of .NET. Shouldn't this be version="3.5" ? > > 2) frameworkassemblydirectory="${path::combine(installRoot, > 'v2.0.50727')}" ... again; shouldn't this match the 3.5 value? > > 3) clrversion="2.0.50727" ... and again ? > > -- Mike Frederick [EMAIL PROTECTED] ------------------------------------------------------------------------- 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