Frank,

Are you sure you've extracted the zip file correctly ?  Can you verify that
the NAnt.NUnit2Tasks.dll assembly is in the same directory as NAnt.exe ?
Can you send me a debug log of that build (NAnt.exe -debug
-logfile:debug.log -f:<your build file>) ? 

Gert

> -----Original Message-----
> From: Bielsik, Frank [mailto:[EMAIL PROTECTED] 
> Sent: dinsdag 2 november 2004 19:54
> To: Gert Driesen; [EMAIL PROTECTED]
> Subject: RE: [Nant-users] Invalid element: <nunit2>
> 
> 
> Gert,
> 
> > I cannot reproduce this issue. Can you please post your build file
> > to the list (if its not too large) ?
> 
> Below is the a piece of the build file that I'm having a problem with,
> with the output I get.  Is this a configuration problem on my end?
> Thanks!
> 
> <?xml version="1.0" encoding="utf-8" ?>
> <project name="Test" basedir="." default="runNUnit">
>     <property name="proj.rootdir"
>             value="${nant.project.basedir}" />
>     <property name="proj.build.rootdir"
>             value="${proj.rootdir}\build" />
>     <property name="proj.build.debugdir"
>             value="${proj.build.rootdir}\Debug" />
>     <property name="tools.nunit.source"
>             value="${proj.build.debugdir}" />
> 
>     <target name="runNUnit">
>         <echo message="Running NUnit tests..."/>
>         <nunit2 verbose="true" failonerror="false">
>             <formatter type="Xml" usefile="true"
>                     extension=".xml"
>                     outputdir="${proj.build.logdir}" />
>             <test>
>                 <assemblies basedir="${tools.nunit.source}">
>                     <include name="*.exe" />
>                     <include name="*.dll" />
>                 </assemblies>
>             </test>
>         </nunit2>
>     </target>
> </project>
> 
> 
> NAnt 0.85 (Build 0.85.1766.0; nightly; 11/1/2004)
> Copyright (C) 2001-2004 Gerry Shaw
> http://nant.sourceforge.net
> 
> Buildfile: file:///C:/Src/Products/Mozart/Test.build
> Target(s) specified: runNUnit
> 
> 
> runNUnit:
> 
>      [echo] Running NUnit tests...
> 
> BUILD FAILED
> 
> C:\Src\Products\Mozart\Test.build(14,10):
> Invalid element <nunit2>. Unknown task or datatype.
> 
> Total time: 0 seconds.
> 
> 



-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click
_______________________________________________
Nant-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-users

Reply via email to