[Mono-list] off-topic NAnt

Chris Vickerson chris@vickerson.net
Sat, 03 Jul 2004 02:33:59 -0400


This is a multi-part message in MIME format.
--------------030001090707030208010006
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit

I've search google and the nant lists and some similar messages but no 
answers.  Please help.

I'm having trouble installing and running nant with mono of fc2.  I'm 
not sure I'm supposed to change something in the NAnt.exe.config file - 
I did change this part:

            <platform name="unix" default="mono-1.0">
                <framework name="mono-1.0" description="GNOME projects 
port of the .NET Framework" version="${version}"
                    runtimeengine="mono" 
sdkdirectory="*/usr/lib/mono/gac*" frameworkdirectory="*/usr/lib/mono/gac*"
                    frameworkassemblydirectory="*/usr/lib/mono/gac*">

The error I keep getting is:

    Framework 'mono-1.0' does not exist or is not specified in the NAnt
    configuration file. Defaulting to no known framework.
    Buildfile: file:///home/chrisv/test/NAnt.build
    Target(s) specified: build
     
    build:
     
    BUILD FAILED
     
    /home/chrisv/test/NAnt.build(10,10):
    invalid element <csc>. Unknown task or datatype.

NAnt seemed to compile ok and mono/mcs certainly works great.

Many thanks in advance.

Chris

--------------030001090707030208010006
Content-Type: text/html; charset=us-ascii
Content-Transfer-Encoding: 7bit

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
  <title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
I've search google and the nant lists and some similar messages but no
answers.&nbsp; Please help.<br>
<br>
I'm having trouble installing and running nant with mono of fc2.&nbsp; I'm
not sure I'm supposed to change something in the NAnt.exe.config file -
I did change this part:<br>
<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;platform name="unix" default="mono-1.0"&gt;
<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;framework name="mono-1.0" description="GNOME
projects port of the .NET Framework" version="${version}"
<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; runtimeengine="mono" sdkdirectory="<b>/usr/lib/mono/gac</b>"
frameworkdirectory="<b>/usr/lib/mono/gac</b>"
<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; frameworkassemblydirectory="<b>/usr/lib/mono/gac</b>"&gt;<br>
<br>
The error I keep getting is:<br>
<blockquote>Framework 'mono-1.0' does not exist or is not specified in
the NAnt configuration file. Defaulting to no known framework.<br>
Buildfile: <a class="moz-txt-link-freetext" href="file:///home/chrisv/test/NAnt.build">file:///home/chrisv/test/NAnt.build</a><br>
Target(s) specified: build<br>
&nbsp;<br>
build:<br>
&nbsp;<br>
BUILD FAILED<br>
&nbsp;<br>
/home/chrisv/test/NAnt.build(10,10):<br>
invalid element &lt;csc&gt;. Unknown task or datatype.<br>
</blockquote>
NAnt seemed to compile ok and mono/mcs certainly works great.<br>
<br>
Many thanks in advance.<br>
<br>
Chris<br>
</body>
</html>

--------------030001090707030208010006--