Are you running this on Mono? Are you not using the .NET 2.0 framework. If
yes, you can use the -t switch to use the appropriate CLR.

On 12/19/06, Gert Driesen <[EMAIL PROTECTED]> wrote:

 David,



Can you attach a debug log (not verbose) creating using NAnt 0.85(release, not 
RC4) ?



Thanks,



Gert



*From:* [EMAIL PROTECTED] [mailto:
[EMAIL PROTECTED] *On Behalf Of *David Piepgrass
*Sent:* maandag 18 december 2006 23:57
*To:* nant-users@lists.sourceforge.net
*Subject:* [NAnt-users] Still unable to use NAnt



Four months ago I found out that NAnt doesn't work at all on my main
computer, only on my laptop. I installed the latest version but, well, I
guess 0.85 is still rc4.

I hope another set of eyeballs can guess the problem. The output is the
same for any .build file:
----
NAnt 0.85 (Build 0.85.2344.0; rc4; 6/2/2006)
Copyright (C) 2001-2006 Gerry Shaw
http://nant.sourceforge.net

BUILD FAILED

The current runtime framework ' mono-2.0' is not correctly configured in
the NAnt configuration file.

    Invalid element <readregistry>. Unknown task or datatype.

For more information regarding the cause of the build failure, run the
build again in debug mode.

Try 'nant -help' for more information
----

nant -verbose looks like this:
----
NAnt 0.85 (Build 0.85.2344.0; rc4; 6/2/2006)
Copyright (C) 2001-2006 Gerry Shaw
http://nant.sourceforge.net

Framework 'net-1.0' is invalid and has not been loaded : Invalid element
<readregistry>. Unknown task or datatype..

Framework 'net-1.1' is invalid and has not been loaded : Invalid element
<readregistry>. Unknown task or datatype..

Framework 'net-2.0' is invalid and has not been loaded : Invalid element
<readregistry>. Unknown task or datatype..

Framework 'net-2.0' is invalid and has not been loaded : Invalid element
<readregistry>. Unknown task or datatype..

Framework 'net-2.0' is invalid and has not been loaded : Invalid element
<readregistry>. Unknown task or datatype..

Framework 'netcf-1.0' is invalid and has not been loaded : Invalid element
<readregistry>. Unknown task or datatype..

Framework 'netcf-2.0' is invalid and has not been loaded : Invalid element
<readregistry>. Unknown task or datatype..

Framework 'mono-1.0' is invalid and has not been loaded : Invalid element
<readregistry>. Unknown task or datatype..


BUILD FAILED

The current runtime framework 'mono-2.0' is not correctly configured in
the NAnt configuration file.
    Invalid element <readregistry>. Unknown task or datatype.

For more information regarding the cause of the build failure, run the
build again in debug mode.

Try 'nant -help' for more information

----
- David
http://qism.blogspot.com

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share
your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV

_______________________________________________
NAnt-users mailing list
NAnt-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users





--
http://geekswithblogs.net/vagmi.mudumbai
http://installneo.blogspot.com

"Peace is its own reward." - Mahatma Gandhi
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
NAnt-users mailing list
NAnt-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users

Reply via email to