When I specify 3.5 of the framework, and NAnt tells me:   [property] Target 
framework changed to "Microsoft .NET Framework 3.5".

Then it get's into the solution and says:

[solution] C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Csc.exe /noconfig 
/nowarn:1701,1702 /errorreport:prompt /warn:4 /define:TRACE 
/reference:"C:\Program Files\Reference 
Assemblies\Microsoft\Framework\v3.5\System.Core.dll" /reference:"C:\Program 
Files\Reference 
Assemblies\Microsoft\Framework\v3.5\System.Data.DataSetExtensions.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.Web.dll 
/reference:C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\System.Xml.dll 
/reference:"C:\Program Files\Reference 
Assemblies\Microsoft\Framework\v3.5\System.Xml.Linq.dll" /debug:pdbonly 
/filealign:512 /optimize+ /out:obj\release\MyProgram.dll /target:library 
MyProgram.cs Properties\AssemblyInfo.cs

So, he's using the wrong CSC.exe causing the build to fail.  How do I fix this 
(it looks like he should be using the right based on the NAnt.exe.config)?

Using version:  nant-0.86-beta1

Thanks,
Eric


      
____________________________________________________________________________________
Never miss a thing.  Make Yahoo your home page. 
http://www.yahoo.com/r/hs

-------------------------------------------------------------------------
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

Reply via email to