----- Original Message ----- 
From: "Marijn P. Vriens" <[EMAIL PROTECTED]>
To: "Gert Driesen" <[EMAIL PROTECTED]>; "Nant users list"
<[EMAIL PROTECTED]>
Sent: Tuesday, December 07, 2004 4:54 PM
Subject: RE: [Nant-users] Building Nant on Mono.


> Gert, Thanks for trying to help out.
>
> However, I zapped the <supportedRuntime version="v2.0.40607" /> line in
> src/NAnt.Console/NAnt.Console.exe.config and it continues to give me the
> same error when i run make :-/. I keeps wanting to make a mono-2.0
> something. Should I change something else as well, maybe change the
> Makefile or something?

You might wanna remove the same line from <nant dir>/bin/NAnt.exe.config
too.

>
> I am trying to get it to work with 0.85-rc1 and tried it with a pristine
> .tar.gz (except for the removed line ofcourse) but no luck.

If you want to use the 0.85-rc1 binary distribution, you should actually
just remove that line from :

<nant dir>/bin/NAnt.exe.config

Gert
>
> On Mon, 2004-12-06 at 19:44, Gert Driesen wrote:
> > Hi Marijn,
> >
> > The problem here is that you did not build the mono 2.0 profile, but
Mono
> > still assumes the 2.0 profile is available (which I reported as Mono bug
> > #62913, http://bugzilla.ximian.com/show_bug.cgi?id=62913).
> >
> > NAnt is indeed trying to the the mono-2.0 "framework", as this is the
> > identifier we use for the mono 2.0 profile.
> >
> > As a workaround, you can avoid that fact Mono sees NAnt as a .NET 2.0
> > assembly by removing this line :
> >
> >         <supportedRuntime version="v2.0.40607" />
> >
> > from <nant root>/src/NAnt.Console/NAnt.Console.exe.config.
> >
> > The faq will be back available when the next nightly build is uploaded.
> >
> > Hope this helps,
> >
> > Gert
> >
> > > -----Original Message-----
> > > From: [EMAIL PROTECTED]
> > > [mailto:[EMAIL PROTECTED] On Behalf Of
> > > Marijn P. Vriens
> > > Sent: maandag 6 december 2004 22:33
> > > To: [EMAIL PROTECTED]
> > > Subject: [Nant-users] Building Nant on Mono.
> > >
> > > Hi Listers,
> > >
> > > We're setting up a C# project that should be compilable in both Linux
> > > and Windows. So, I am trying to get Nant to compile under
> > > Mono 1.1 with
> > > Linux, but when running make it complains. I know that I have
> > > to select
> > > the correct framework to build (and it's not mono-2.0), and that
> > > instrunctions on how to do it is in the FAQ (
> > > http://nant.sourceforge.net/faq.html ) however the FAQ gives me a 404
> > > :(.
> > >
> > > Sorry to repeat things that are already known.. but the faqs not
> > > available... Can anybody give me a hint?
> > >
> > > Here's the error that nant produces when trying to build it:
> > >
> > > $ make
> > > mono bin/NAnt.exe -f:NAnt.build build
> > > Compat mode: the request from
> > > /home/marijn/tmp/nant-0.85-rc1/bin/NAnt.exe to load System.Xml was
> > > remapped (http://www.go-mono.com/remap.html)
> > > Compat mode: the request from
> > > /home/marijn/tmp/nant-0.85-rc1/bin/log4net.dll to load System was
> > > remapped (http://www.go-mono.com/remap.html)
> > > NAnt 0.85 (Build 0.85.1793.0; rc1; 11/28/2004)
> > > Copyright (C) 2001-2004 Gerry Shaw
> > > http://nant.sourceforge.net
> > >
> > > Compat mode: the request from
> > > /home/marijn/tmp/nant-0.85-rc1/bin/NAnt.Core.dll to load
> > > System.Web was
> > > remapped (http://www.go-mono.com/remap.html)
> > >
> > > BUILD FAILED
> > >
> > > The current runtime framework 'mono-2.0' is not correctly
> > > configured in
> > > the NAnt configuration file.
> > >     The 'System.dll' assembly does not exist in framework assembly
> > > directory '/usr/local/lib/mono/2.0'.
> > >
> > > For more information regarding the cause of the build failure, run the
> > > build again in debug mode.
> > >
> > > Try 'nant -help' for more information
> > > make: *** [build-nant] Error 1
> > > $
> > > --- 
> > >
> > > Thanks,
> > >      Marijn
> > >
> > >
> > >
> > > -------------------------------------------------------
> > > 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-users mailing list
> > > [EMAIL PROTECTED]
> > > https://lists.sourceforge.net/lists/listinfo/nant-users
> > >
> > >
> >
> >
> >
> > -------------------------------------------------------
> > 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-users mailing list
> > [EMAIL PROTECTED]
> > https://lists.sourceforge.net/lists/listinfo/nant-users
>
>
>
> -------------------------------------------------------
> 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-users mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/nant-users
>
>


-------------------------------------------------------
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-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-users

Reply via email to