[Mono-list] nant-0.85-20040817.zip won't build, 'NAnt.NUnit1.Tasks.NUnitTask' is obsolete

Adam Monsen Adam Monsen <haircut@gmail.com>
Wed, 18 Aug 2004 15:13:06 -0700


------=_Part_58_29562464.1092867186039
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

I'm using mono on Fedora Core 2, RPMs from
http://www.go-mono.com/archive/1.0.1/fedora-2-i386/.

I'm unable to install nunut. Someone on irc.gnome.org#mono suggested a
CVS snapshot, so I'm trying to build  nant-0.85-20040817.zip
(downloaded from http://nant.sf.net/builds/).

Here is the error I get:

[...]
/home/adamm/bin/Nant/src/NAnt.NUnit/NUnit1/NUnitTask.cs(142) error
CS0618: 'NAnt.NUnit1.Tasks.NUnitTask' is obsolete: 'In a future
release, this task will be moved to NAntContrib. However, we strongly
advise you to upgrade to NUnit 2.x.'
[...]

More details attached.

Any ideas?

-- 
Adam Monsen <adamm@wazamatta.com>
http://adammonsen.com/

------=_Part_58_29562464.1092867186039
Content-Type: text/plain; name="nunit_errors.txt"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: attachment; filename="nunit_errors.txt"

     [nant] /home/adamm/bin/Nant/src/NAnt.NUnit/NAnt.NUnit.build build
            Buildfile: file:///home/adamm/bin/Nant/src/NAnt.NUnit/NAnt.NUni=
t.build
            Target(s) specified: build


            build:

GC Warning: Finalization cycle involving 844b7b8
GC Warning: Finalization cycle involving 844b980
GC Warning: Finalization cycle involving 844b850
GC Warning: Finalization cycle involving 844bb48
GC Warning: Finalization cycle involving 844bbe0
GC Warning: Finalization cycle involving 844ba18
GC Warning: Finalization cycle involving 844bab0
GC Warning: Finalization cycle involving 844bd10
GC Warning: Finalization cycle involving 844bda8
GC Warning: Finalization cycle involving 85f5b48
GC Warning: Finalization cycle involving 844be40
GC Warning: Finalization cycle involving 844bed8
                  [csc] Compiling 14 files to '/home/adamm/bin/Nant/build/m=
ono-1.0.unix/nant-0.85-debug/bin/NAnt.NUnit1Tasks.dll'.
                  [csc] /home/adamm/bin/Nant/src/NAnt.NUnit/NUnit1/NUnitTas=
k.cs(142) error CS0618: 'NAnt.NUnit1.Tasks.NUnitTask' is obsolete: 'In a fu=
ture release, this task will be moved to NAntContrib. However, we strongly =
advise you to upgrade to NUnit 2.x.'
                  [csc] /home/adamm/bin/Nant/src/NAnt.NUnit/NUnit1/NUnitTas=
k.cs(170) error CS0618: 'NAnt.NUnit1.Tasks.NUnitTask' is obsolete: 'In a fu=
ture release, this task will be moved to NAntContrib. However, we strongly =
advise you to upgrade to NUnit 2.x.'
                  [csc] /home/adamm/bin/Nant/src/NAnt.NUnit/NUnit1/NUnitTas=
k.cs(175) error CS0618: 'NAnt.NUnit1.Tasks.NUnitTask' is obsolete: 'In a fu=
ture release, this task will be moved to NAntContrib. However, we strongly =
advise you to upgrade to NUnit 2.x.'
                  [csc] /home/adamm/bin/Nant/src/NAnt.NUnit/NUnit1/NUnitTas=
k.cs(177) error CS0618: 'NAnt.NUnit1.Tasks.NUnitTask' is obsolete: 'In a fu=
ture release, this task will be moved to NAntContrib. However, we strongly =
advise you to upgrade to NUnit 2.x.'
                  [csc] Compilation failed: 4 error(s), 0 warnings

            BUILD FAILED

            /home/adamm/bin/Nant/src/NAnt.NUnit/NAnt.NUnit.build(22,9):
            External Program Failed: /usr/lib/mono/1.0/mcs.exe (return code=
 was 1)

            Total time: 9.2 seconds.


BUILD FAILED

Nested build failed.  Refer to build log for exact reason.

Total time: 28.3 seconds.

GC Warning: Finalization cycle involving 844b7b8
GC Warning: Finalization cycle involving 844b980
GC Warning: Finalization cycle involving 844b850
GC Warning: Finalization cycle involving 844bb48
GC Warning: Finalization cycle involving 844bbe0
GC Warning: Finalization cycle involving 844ba18
GC Warning: Finalization cycle involving 844bab0
GC Warning: Finalization cycle involving 844bd10
GC Warning: Finalization cycle involving 844bda8
GC Warning: Finalization cycle involving 85f5b48
GC Warning: Finalization cycle involving 844be40
GC Warning: Finalization cycle involving 844bed8
make[1]: *** [linux-nant] Error 1
make[1]: Leaving directory `/home/adamm/bin/Nant'
make: *** [all] Error 2

------=_Part_58_29562464.1092867186039--