How to copy/install assembly in a GAC? (Some problem running NUnit)

Posted by prosseek on Stack Overflow See other posts from Stack Overflow or by prosseek
Published on 2010-06-08T17:09:53Z Indexed on 2010/06/08 19:02 UTC
Read the original article Hit count: 156

Filed under:
|

I have NUnit installed at this directory.

C:\Program Files\NUnit 2.5.5\bin\net-2.0

I made the directory beneath a GAC.

C:\Windows\Microsoft.NET\assembly\GAC_MSIL\NUnit

and copied the nunit.framework.dll, but I got the same error.

When I try to run my unit test (mut.dll) in some random directory. I get the following error. I have to copy the mut.dll under the NUnit directory in order to run it.

ProcessModel: Default    DomainUsage: Single
Execution Runtime: net-2.0
Could not load file or assembly 'nunit.framework, Version=2.5.5.10112, Culture=n
eutral, PublicKeyToken=96d09a1eb7f44a77' or one of its dependencies. The system
cannot find the file specified.
  • What went wrong? How can I install/copy the assembly inside a GAC?

© Stack Overflow or respective owner

Related posts about nunit

Related posts about gac