NAnt uses precompiled NUnit using some particular version of
nunit.framework.dll. Most likely this version is not what you've compiled
your assembly against.

Try recompiling your dll, but instead of using nunit.framework.dll that
comes with NUnit, use the one from NAnt.

Hope it helps,

Jarek
----- Original Message ----- 
From: "Yogesh T Bagmar" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, January 06, 2004 2:09 PM
Subject: [Nant-users] Integration of NAnt with NUnit


> Hi,
>
> I have placed the following lines in my build.xml.
>
>   <nunit2>
>     <test assemblyname="bin/debug/WebDAOI.dll" outfile="results.xml"/>
>   </nunit2>
>
>
> When I run NAnt, it gives the following error :
>
> The located assembly's manifest definition with name 'nunit.framework'
does
> not match the assembly reference.
>
> If I remove the<nunit2> line from the build.xml, NAnt is able to create
the
> assembly perfectly,
> and I am able to test the same in NUnit from the GUI.
>
> Moreover, while building the assembly using NAnt, I have included the
> reference for nunit.framework.dll.
> Seems like I am missing some other reference.
>
> Thanks a lot in Advance.
>
> Best Regards,
> Yogesh
>
>
>
> -------------------------------------------------------
> This SF.net email is sponsored by: IBM Linux Tutorials.
> Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
> Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
> Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
> _______________________________________________
> Nant-users mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/nant-users
>



-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
_______________________________________________
Nant-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-users

Reply via email to