[Mono-list] off-topic NAnt

Chris Vickerson chris@vickerson.net
Sat, 03 Jul 2004 03:01:03 -0400


Thanks for replying.

I tried to compile the source but got the following errors:
http://www.vickerson.net/NAntNightly.txt (I put it online so this email
doesn't get too confusing).  I also noticed that there were some
pre-built binaries in that download which I tried and got a new error
when I tried to compile a .build file:

        NAnt 0.85 (Build 0.85.1525.0; net-1.1.win32; nightly; 3/5/2004)
        Copyright (C) 2001-2004 Gerry Shaw
        http://nant.sourceforge.net
         
        BUILD FAILED
         
        The current runtime framework 'mono-1.0' is not correctly
        configured in the NAnt configuration file.

Chris



On Sat, 2004-07-03 at 02:40, Gert Driesen wrote:
> Chris,
> 
> I suggest using a recent nightly build of NAnt
> (http://nant.sourceforge.net/nightly/builds).  More recent versions of NAnt
> will use pkg-config to determine the mono prefix.
> 
> However, that doesn't mean that I'll guarantee that everything will work
> fine ;)
> 
> Just report any issues to the NAnt lists (or submit a bug report), and I'll
> fix them ASAP.
> 
> Thanks,
> 
> Gert
> 
> ----- Original Message -----
> From: "Chris Vickerson" <chris@vickerson.net>
> To: <mono-list@lists.ximian.com>
> Sent: Saturday, July 03, 2004 8:33 AM
> Subject: [Mono-list] off-topic NAnt
> 
> 
> > 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
> >
>