Re: problems with nunit-console and nant

Steven Whatmore <[email protected]>
Newsgroups gmane.comp.windows.dotnet.nant.user
Message-ID <526FB63578E57D4C8F7EAEF3CE7065A028706411D0@solar>
Unfortunately I can be of no assistance on that one - I never encountered that situation

Steve Whatmore, MBA, MCP, .NET
Senior Architect
416.598.1241 x245
-------------------------------------------------
PureFacts Financial Solutions
372 Bay Street, Suite 1400
Toronto, Ontario M5H 2W9
416.598.1241 main
888.596.9338 toll free
416.598.9226 fax

www.purefacts.com


PureFacts Financial Solutions is a Lynxdev Company
Please consider the environment before printing this e-mail.
This e-mail may be privileged and/or confidential, and the sender does not waive any related rights and obligations. Any distribution, use or copying of this e-mail or the information it contains by other than an intended recipient is unauthorized. If you received this e-mail in error, please advise me (by return e-mail or otherwise) immediately.
Ce courrier électronique est confidentiel et protégé. L'expéditeur ne renonce pas aux droits et obligations qui s'y rapportent. Toute diffusion, utilisation ou copie de ce message ou des renseignements qu'il contient par une personne autre que le (les) destinataire(s) désigné(s) est interdite. Si vous recevez ce courrier électronique par erreur, veuillez m'en aviser immédiatement, par retour de courrier électronique ou par un autre moyen.



-----Original Message-----
From: Bruce Scharlau [mailto:[email protected]] 
Sent: Monday, July 05, 2010 3:45 PM
To: [email protected]
Subject: Re: [NAnt-users] problems with nunit-console and nant

Steven,

thanks for that. It helps if I copy the nunit.framework.dll and
nunit.core.dll files into the same directory as my other generated dll
files, but now the tests hang and then produce a stackoverflow error if
I try to do anything beyond creating objects, and I'm only trying to
recreate the basic bank app with two accounts and move money between
them as on the nunit quick start page.

Bruce

On 05/07/10 13:50, Steven Whatmore wrote:
> Bruce,
>
> This has always been somewhat problematic with the nUnit console and nAnt.
>
> I ran into the same problem and had a hell of a time resolving it myself but what I found was that if you are including the nUnit DLL(s) in your project the easiest way to get this to work is to make sure that you have the same version in your project as what nUnit / nAnt are looking for and the problem goes away. Now this gets a little more complicated if you are using libraries which are bound to a particular version of the nUnit framework - which was exactly the case in my project where I was using the Spring.NET framework which was compiled against an older versio. Luckily the Spring team provided me with a newer version of the component library that was compiled against the correct version and it all worked.
>
> Hope that helps somewhat 
>
> Whatty 
>
>
> -----Original Message-----
> From: Bruce Scharlau [mailto:[email protected]] 
> Sent: Monday, July 05, 2010 4:33 AM
> To: [email protected]
> Subject: [NAnt-users] problems with nunit-console and nant
>
> Hi all,
>
> I'm trying to have nant build my dll files for source and test and then
> run nunit-console over the test dll file, but it doesn't find the
> nunit.framework.dll. I keep getting the
> ...
>   


-- 
 cheers,

 Bruce

 Dr. Bruce Scharlau
 Dept. of Computing Science
 Meston Building, Room 229
 University of Aberdeen
 Aberdeen AB24 3UE
 01224 272193
 http://www.csd.abdn.ac.uk/~bscharla
 mailto:[email protected]


------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
NAnt-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nant-users

------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.