Title: Message
Hi Paul,
 
Have you loaded the nantcontrib assembly in your nant build file?
 
<target name="loadnantcontrib" description="Loads the nant contrib libraries" unless="${target::has-executed('loadnantcontrib')}">
    <loadtasks assembly="c:/nantcontrib/bin/NAnt.Contrib.Tasks.dll" />
</target>
 
Glenn

Glenn Wilson
Drive thy business or it will drive thee. Benjamin Franklin (1706-1790)

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Paul Cowan
Sent: 26 May 2005 10:02
To: nant-users@lists.sourceforge.net
Subject: [Nant-users] nunit2report

Hi all,

 

When I run the following target I get: Invalid element <nunit2report>. Unknown task or datatype.

 

      <target name="runUnitTests" description="Runs unit tests on specified dlls">

            <nunit2 failonerror="false" verbose="true">

                  <formatter outputdir="${nant.project.basedir}" usefile="true" type="Xml" extension=".xml"/>

                  <test assemblyname="${compile.dir}\vor.tests.dll" appconfig="${compile.dir}\vor.tests.dll.config" />

        </nunit2>

          <nunit2report out="${nant.project.basedir}\Report.html">

                  <fileset>

                        <includes name="${nant.project.basedir}\vor.tests.dll-results.xml" />

                  </fileset>

         </nunit2report>

      </target>

 

If I use the <nunitreport> tag I get an empty report.

 

Has anyone any ideas why this is happening??


Thanks


Paul

 

 


_____________________________________________________________________
VirusChecked for the Incepta Group plc
_____________________________________________________________________

Reply via email to