OK, thanks Gert!
----- Original Message ----
From: Gert Driesen <[EMAIL PROTECTED]>
To: Eric Fetzer <[EMAIL PROTECTED]>; NAnt Developers
<nant-developers@lists.sourceforge.net>
Sent: Thursday, May 1, 2008 12:38:00 PM
Subject: RE: [nant-dev] 3.5 Framework with yesterday's CVS Code
Eric,
We do not yet support .NET Framework 3.5 for the <solution> task.
In order to support both .NET 2.0 and 3.5, we need to use reflection for the
MSBuild assemblies and we have problems loading the 3.5 version of the MSBuild
assemblies.
I don't recall the exact details, but I'll contact the developer that was
working on this (Martin Aliger) to get a status update.
Gert
________________________________
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Eric Fetzer
Sent: donderdag 1 mei 2008 20:19
To: NAnt Developers
Subject: [nant-dev] 3.5 Framework with yesterday's CVS Code
It appears to be building off of the 2.0 csc.exe instead of the 3.5 csc.exe.
Here's my target:
<target name="build" depends="getLatest">
<property name="nant.settings.currentframework" value="net-3.5"/>
<solution configuration="release" verbose="true" >
<projects>
<include name="${build.dir}\MyProject\MyProject.csproj" />
</projects>
<referenceprojects>
<includes
name="${build.dir}\MyProjectReference\MyProjectReference.csproj" />
</referenceprojects>
<assemblyfolders>
<include name="D:\Program Files\Microsoft Visual Studio
8\Common7\IDE\PublicAssemblies" />
</assemblyfolders>
</solution>
</target>
Here's my output in the log:
[solution] C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Csc.exe /noconfig
/unsafe- /checked- /nowarn:1701,1702 /nostdlib- /errorreport:prompt /warn:4
/baseaddress:285212672 /define:TRACE
/reference:C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\System.configuration.dll
/reference:"C:\Program Files\Reference
Assemblies\Microsoft\Framework\v3.5\System.Core.dll"
/reference:C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\System.Data.dll
/reference:C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\System.dll
/reference:C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\System.Xml.dll /debug-
/filealign:4096 /optimize+ /out:obj\release\MyProject.dll /target:library
/warnaserror- AssemblyInfo.cs myFile1.cs myFile2.cs myFile3.cs myFile4.cs
I never see it switch over to the proper framework and it definitely uses the
wrong csc... The only thing I see it using for 3.5 is system.core.dll. Seems
I could hack the nant.exe.config file to get this to work. Any help?
Thanks,
Eric
________________________________
Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now.
____________________________________________________________________________________
Be a better friend, newshound, and
know-it-all with Yahoo! Mobile. Try it now.
http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ
-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
nant-developers mailing list
nant-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-developers