I am using Visual Studio 2012, and I downloaded NUnit 2.6.1 to run Unit Tests in code. I added a link to nunit.framework in the draft solution, where I need it.
The problem is that for some reason, when I try to include a namespace, it does not work. It looks like this:
using System; using System.Collections.Generic; using System.Text; using System.Threading.Tasks; using NUnit.Framework;
Any ideas on why it is not working? Thanks in advance!
PS: I use ReSharper as an extension for VS2012 ... Could this be the source of the problem?
EDIT: I tried to install it several times using NUGet, but I get the same error when NUGet completes the installation:
Exception from HRESULT: 0x80029C4A (TYPE_E_CANTLOADLIBRARY)) Successfully uninstalled 'NUnit 2.6.1'. Install failed. Rolling back... Failed to add reference to 'nunit.framework'.
Does it roll back? I read, and people said something about the GAC and added links manually. I know little about this, but it may be useful to answer the question.
source share