You probably have the 1.1 version of the .NET framework installed but Nant
uses the 1.0 version by default.  The version of the .NET framework being
used is specified in NANT_INSTALL_DIR\bin\Nant.exe.config

The default framework is set in the defaultframework attribute of the
<nantsettings> tag.  I have changed it to use 1.1 in the snippet below.

<!-- nant config settings -->
 <nantsettings
  defaultframework="net-1.1"
  >

It is set to "net-1.0 " by default.  You can also specifiy one of the mono
versions there.

-Mark

----- Original Message -----
From: "mlkxr6" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, July 19, 2003 2:00 PM
Subject: [Nant-users] (no subject)


BUILD FAILED

C:\nant\NAnt.build(54,10):

 <csc task>C:\WINDOWS\Microsoft.NET\Framework\v1.0.3705\csc.exe failed
to start.



How do I get csc to work with Framework v1.1 ?



Matthew





-------------------------------------------------------
This SF.net email is sponsored by: VM Ware
With VMware you can run multiple operating systems on a single machine.
WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the
same time. Free trial click here: http://www.vmware.com/wl/offer/345/0
_______________________________________________
Nant-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-users

Reply via email to