Thanks Gert, this has caused an explicit use of .NET 3.5 (-t:net-3.5) to work; but the default framework (default="auto" in NAnt.exe.config) still falls-back to 2.0. I changed the default= setting in NAnt.exe.config to default="net-3.5" and that seems to have fixed the default framework issue.
Gert Driesen wrote: > Mike, > > Please try using the latest nightly build. > I recently fixed a bug related to support for .NET Framework 3.5: > http://nant.sourceforge.net/nightly/latest/releasenotes.html > > Let me know if that fixes the problem for you. > > Gert > > ----- Original Message ----- From: "Mike Frederick" > <[EMAIL PROTECTED]> > To: "nant" <nant-users@lists.sourceforge.net> > Sent: Monday, March 10, 2008 8:51 PM > 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 >> > > > -- 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