I'm pretty sure there's already a bug report for this (don't have time to check this right now).
True, it has the id 865129 http://sourceforge.net/tracker/index.php?func=detail&aid=865129&group_id=31650&atid=402868
In your case, NAnt thinks that the Microsoft .NET Framework 1.0 is indeed available (because framework::exists('net-1.0') returns true) on your system, and therefor tries to build the NAnt.MSNetTasks assembly with it ...
That makes sense. So I have temporarily deleted the .Net Framework 1.0 folder. As far as I can tell, it compiles completely, but some of the unit tests fail nevertheless.
Thanks a lot, Matthias
====== Extract of logfile ========
[echo] Running unit tests with just built version of NAnt.
[exec] C:\Programme\NAnt\nant/build/net-1.1.win32/nant-0.85-debug/bin/NAnt.exe -buildfile:NAnt.build debug self-test -D:project.version=0.85 -k:net-1.1
NAnt 0.85 (Build 0.85.1509.0; net-1.1.win32; nightly; 18.02.2004)
Copyright (C) 2001-2004 Gerry Shaw
http://nant.sourceforge.net
Framework 'net-1.0' does not exist or is not specified in the NAnt configuration file. Defaulting to no known framework.
Buildfile: file:///C:/Programme/NAnt/nant/NAnt.build
Target(s) specified: debug self-test
[echo] Using 'net-1.1' framework on 'win32' platform.
debug:
init:
debug:
set-runtime-configuration:
set-net-1.1-runtime-configuration:
set-runtime-configuration-flags:
set-net-1.1-runtime-configuration:
set-runtime-configuration-flags:
self-test:
[copy] Copying 1 file to 'C:\Programme\NAnt\nant\build\net-1.1.win32\nant-0.85-debug\bin\nant.tests.config'.
[attrib] Setting file attributes for 1 files to Normal.
[xmlpoke] Found '1' nodes matching XPath expression '//configuration/nant/frameworks/[EMAIL PROTECTED]'win32']/@default'.
[echo] testing with config 'C:\Programme\NAnt\nant\build\net-1.1.win32\nant-0.85-debug\bin\nant.tests.config'
[nant] C:\Programme\NAnt\nant\tests\NAnt.Console\NAnt.Console.build test
Framework 'net-1.0' does not exist or is not specified in the NAnt configuration file. Defaulting to no known framework.
Buildfile: file:///C:/Programme/NAnt/nant/tests/NAnt.Console/NAnt.Console.build
Target(s) specified: test
build:
test:
[nunit2] Tests run: 9, Failures: 0, Not run: 0, Time: 2.84375 seconds
BUILD SUCCEEDED
Total time: 3.7 seconds.
[nant] C:\Programme\NAnt\nant\tests\NAnt.Core\NAnt.Core.build test
Framework 'net-1.0' does not exist or is not specified in the NAnt configuration file. Defaulting to no known framework.
Buildfile: file:///C:/Programme/NAnt/nant/tests/NAnt.Core/NAnt.Core.build
Target(s) specified: test
build:
test:
[nunit2] BUILD SUCCEEDED
[nunit2] Tests run: 215, Failures: 2, Not run: 0, Time: 18.84375 seconds
Failures:
1) Tests.NAnt.Core.ProjectTest.Test_Initialization_FSBuildFile :
expected:<"True">
but was:<(null)>
at Tests.NAnt.Core.ProjectTest.CheckCommon(Project p) in c:\Programme\NAnt\nant\tests\NAnt.Core\ProjectTest.cs:line 214
at Tests.NAnt.Core.ProjectTest.Test_Initialization_FSBuildFile() in c:\Programme\NAnt\nant\tests\NAnt.Core\ProjectTest.cs:line 75
2) Tests.NAnt.Core.ProjectTest.Test_Initialization_DOMBuildFile :
expected:<"True">
but was:<(null)>
at Tests.NAnt.Core.ProjectTest.CheckCommon(Project p) in c:\Programme\NAnt\nant\tests\NAnt.Core\ProjectTest.cs:line 214
at Tests.NAnt.Core.ProjectTest.Test_Initialization_DOMBuildFile() in c:\Programme\NAnt\nant\tests\NAnt.Core\ProjectTest.cs:line 93
BUILD FAILED
Tests Failed
Total time: 19.5 seconds.
BUILD FAILED
Nested build failed. Refer to build log for exact reason.
Total time: 23.7 seconds.
BUILD FAILED
C:\Programme\NAnt\nant\NAnt.build(150,10):
External Program Failed: C:\Programme\NAnt\nant/build/net-1.1.win32/nant-0.85-debug/bin/NAnt.exe (return code was 1)
Total time: 69.5 seconds.
====== EOF ========
------------------------------------------------------- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click _______________________________________________ nant-developers mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-developers