Problem running with NUnit 2.5.2

Problem running with NUnit 2.5.2

Hi,

I'm using the NCover trial app with NUnit 2.5.2. I seem to have all my settings right, but I get this following error when I try to run:

Unhandled Exception: System.IO.FileLoadException: Could not load file or assembly 'nunit.framework, Version=2.4.8.0, Culture=neutral, PublicKeyToken=96d09a1eb7f44a77' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040) File name: 'nunit.framework, Version=2.4.8.0, Culture=neutral, PublicKeyToken=96d09a1eb7f44a77'

There is an nunit.framework.dll file in the directory that I'm using, and I can run the tests from the ReSharper test runner.

So...?

Thanks, James


RE: Problem running with NUnit 2.5.2

The Sample app was written against v2.4.8. Using the 2.5.2 runtime will cause this issue.

You can add this to the app.config.

<?xml version="1.0" encoding="utf-8" ?>

Thank you

Joe Feser


RE: Problem running with NUnit 2.5.2

You can also change the reference of the sample app to use v2.5.2 of NUnit and recompile.

Joe Feser


Re: Problem running with NUnit 2.5.2

I added the xml snippet to the config file for the NCover Explorer and it didn't help.


RE: Re: Printing error

Converted to support case.