You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by Chris Altman <ch...@sim-plex.com> on 2005/04/19 02:45:46 UTC

Problem with csc on OS X

I am currently trying to build a .NET application on my OS X box.  I 
have it successfully building on my WinXP box so, I am confident the 
build.xml is correct.

The issue arises with csc.

It returns this error: csc failed: java.io.IOException: mcs: not found

Now I have read through some of the other messages and noticed that 
this has also happened to those on WinXP and the solution for the most 
part was to add csc.exe to the PATH variable.  However, I am not even 
sure that is possible on OS X?

I have also seen something about needing ant-nodeps.jar but have had 0 
luck finding this file other then in my lib folder?  Is there a way I 
need to register it, or get a newer version?  I am running Ant 1.6.2.

Thanks in advance for the help!!


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Re: Problem with csc on OS X

Posted by Stefan Bodewig <bo...@apache.org>.
On Mon, 18 Apr 2005, Chris Altman <ch...@sim-plex.com> wrote:

> It returns this error: csc failed: java.io.IOException: mcs: not
> found

This probably means that Mono is not on your PATH.

> Now I have read through some of the other messages and noticed that
> this has also happened to those on WinXP and the solution for the
> most part was to add csc.exe to the PATH variable.  However, I am
> not even sure that is possible on OS X?

If you look at the message you'll see it is looking for mcs, Mono's C#
compiler, not csc.exe.

> I have also seen something about needing ant-nodeps.jar but have had
> 0 luck finding this file other then in my lib folder?

Your installation is complete, otherwise you wouldn't even be able to
use the <csc> task.

Stefan

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org