[Mono-list] error building Nant with Nant (using mono in linux)
Paolo Molaro
lupus@ximian.com
Fri, 3 Jan 2003 17:19:50 +0100
On 12/30/02 Jeroen Janssen wrote:
> I'm trying to build Nant with Nant under linux and I have a problem (see
> below).
> Can anybody help me find out where exactly the problem is? (is the mono
> class libraries, or the jit/interpreter?)
> -----
> japj@debian:~/cvs/mcs/nant$ mono --debug ./Nant.exe
> Buildfile: /home/japj/cvs/mcs/nant/NAnt.build
> [tstamp] 12/30/2002 12:56:35
>
> INTERNAL ERROR
> System.InvalidCastException: Cannot cast from source type to destination
> type
This is probably fixed in cvs.
> Note I have first build Nant using "msc /out:NAnt.exe /recurse:*.cs".
> When I try to run the resulting Nant in Windows I get
>
> -----
> Buildfile: D:\cvs_wa\mono\mcs\nant\NAnt.build
> [tstamp] 12/30/2002 13:59:14
>
> INTERNAL ERROR
> System.TypeLoadException: Could not load type
> System.Text.RegularExpressions.Reg
> exCollectionBase from assembly System, Version=1.0.3300.0,
> Culture=neutral, Publ
> icKeyToken=b77a5c561934e089.
This is an issue with our implementation of regular expressions.
I'll work on a fix.
lupus
--
-----------------------------------------------------------------
lupus@debian.org debian/rules
lupus@ximian.com Monkeys do it better