Re: Installing NUnit

"Charlie Poole" <[email protected]>
Newsgroups gmane.comp.windows.dotnet.nunit.user
Message-ID <01b201c89b3c$d8598e70$6401a8c0@ferrari>
Good answers afaic. Of course, I didn't even know there was a separate
x86 program files directory - someone want to send us a 64-bit system? :-)

Note that to run 32-bit tests, you will need to use nunit-console-x86.exe
or nunit-x86.exe. Otherwise, they will run as 64 bit, no matter where
you put them.

Charlie

> -----Original Message-----
> From: [email protected] 
> [mailto:[email protected]] On Behalf 
> Of Brad Stiles
> Sent: Thursday, April 10, 2008 11:40 AM
> To: [email protected]
> Subject: Re: [Nunit-users] Installing NUnit
> 
> Mike Chess <[email protected]> wrote:
> 
> > Our developers are just beginning to introduce NUnit into our 
> > environment. As we were talking through some of the 
> conflicts we had 
> > in installation locations, the question was raised "What about 
> > installing on 64-bit systems?"  The nunit.framework 
> assembly has to be 
> > referenced in each Visual Studio project.  The reference 
> would point 
> > to the install location of NUnit (by default C:\Program Files\NUnit 
> > 2.4.7\).  On 64-bit systems the default location would 
> presumably by 
> > C:\Program Files (x86)\NUnit 2.4.7\.  The project with the 
> > nunit.framework should fail to compile on a 64-bit system 
> as it would 
> > be looking for the assembly in C:\Program Files\ and not C:\Program 
> > Files (x86).
> 
> Hmmm, this thread looks familiar...:)
> 
> You have a couple of choices.
> 
> 1.  Don't install it at all.  If your repository supports 
> sharing of code, like Subversion and, presumably, CVS and 
> others, put NUnit in your source code repository and 
> reference it from each project that is using it, or export it 
> from your repo when you run the tests.  We used to do 
> something like this, but we have enough projects that it got 
> to be a pain.
> 
> 2.  Install it in some standard directory, e.g. c:\devtools\NUnit, on
> *every* machine, including your build servers.  It will 
> always be in that location, so your references should work.
> 
> 3.  Install the NUnit.Framework dll to the GAC.  Everything 
> that builds will see it there, though you may need other 
> pieces of NUnit to actually run tests.  If those other other 
> pieces are in the same location as the console and/or gui 
> runners, and that location is in your path, running tests 
> shouldn't be a problem.
> 
> Brad 
> 
> 
> --------------------------------------------------------------
> -----------
> This SF.net email is sponsored by the 2008 JavaOne(SM) 
> Conference Don't miss this year's exciting event. There's 
> still time to save $100. 
> Use priority code J8TL2D2. 
> http://ad.doubleclick.net/clk;198757673;13503038;p?http://java
> .sun.com/javaone
> _______________________________________________
> Nunit-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/nunit-users
> 



-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
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.