Bugs item #1078389, was opened at 2004-12-03 15:29
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=402868&aid=1078389&group_id=31650

Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: None (briodev)
Assigned to: Nobody/Anonymous (nobody)
Summary: Can't compile against Mono

Initial Comment:

Hi,

congrats for the new rc of Nant !

I've been trying to compile a simple projet against
mono 1.0.4.

The problem is that it fails to compile the file. While
browsing the source, I found the file CSharpProject.cs.

In this file, I found (well, I guess I did) the code
reponsible for the invocation or the external compiler
(csc for Ms, and mcs for Mono).

Here is the code : 

 protected override ProcessStartInfo
GetProcessStartInfo(ConfigurationBase config, string
responseFile) {
            ProcessStartInfo psi = new
ProcessStartInfo(Path.Combine(SolutionTask.
               
Project.TargetFramework.FrameworkDirectory.FullName,
"csc.exe"), 
                "/noconfig @\" + responseFile + "\");
            psi.WorkingDirectory =
config.ObjectDir.FullName;
            return psi;
        }

>From the code, I have the impression that the compiler
name (csc.exe) is hardcoded, and not taken from the
configuration (Nant.exe.config).

Any idea ? 

Cheers,
briodev

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=402868&aid=1078389&group_id=31650


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
_______________________________________________
nant-developers mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-developers

Reply via email to