[Mono-list] NAnt

Gert Driesen gert.driesen at telenet.be
Wed Dec 14 17:39:50 EST 2005


> -----Original Message-----
> From: mono-list-bounces at lists.ximian.com 
> [mailto:mono-list-bounces at lists.ximian.com] On Behalf Of 
> Fredrik Elestedt
> Sent: woensdag 14 december 2005 22:56
> To: mono-list at lists.ximian.com
> Subject: [Mono-list] NAnt
> 
> When I tried to recompile mysql-connector-net-1.0.4 I got an 
> error when
> it tried to execute NAnt to generate a signed key (using Gentoo). So I
> decided to recompile NAnt and try again - but that didn't 
> help so here I
> am...
> Anyone know what could cause this? I'm running mono version 1.0.10.
> 
> # mono /usr/share/NAnt/bin/NAnt.exe
> 
> ** (/usr/share/NAnt/bin/NAnt.exe:31880): WARNING **: Missing method
> .ctor in assembly /usr/share/NAnt/bin/NAnt.exe, type
> System.Runtime.CompilerServices.RuntimeCompatibilityAttribute
> 
> ** ERROR **: Can't find custom attr constructor image:
> /usr/share/NAnt/bin/NAnt.exe mtoken: 0x0a000056
> aborting...
> Aborted

I cannot reproduce this issue using Mono svn (also on Gentoo).

What version of NAnt are you using ?

Can you try removing all elements from the <startup> node in the NAnt
application configuration file (NAnt.exe.config) and see if that has any
effect ?

Gert



More information about the Mono-list mailing list