Nunit 2.6 + Resharper 7 + NCrunch + Visual Studio 2010

I had a good time with Nunit 2.6 + ReSharper 7, but after installing Ncrunch, my Visual Studio 2010 just fell apart and I can't run Unit tests inside Unit Test sessions.

Error message:

The project xxxx has not been built

Typical setting:

Project XXXX - No Basic

Project XXXX.Test - code

Some code in XXXX.Test

[TestFixture]
public class Entry
{
    [Test]
    public static void ThisWillPass()
    {
        Assert.AreEqual(1,2);
    }


}

Note. I installed Configuration Manager on "build" on xxxx.test

Please inform.

+5
source share
1 answer

Is your project installed as AnyCPU? If you do not check the forwarding parameters for the parameter that controls, if the framework that it uses runs the tests is 32 bits or 64 bits and make sure it is set the same.

+1

All Articles