Nunit upgrade woes

A

almurph

Hi everyone,

I'm wonderng can you help me please. I'm dealing with a big C#
solution with around 70 projects inside it. It is using NUnit 2.2.0
and I have been charges with updating to Nunit 2.5.8.

Here was my approach:

1. Using control panel uninstall NUnit 2.2.0
2. Download and install the NUnit 2.5.8 usign the msi
3. Open back up solution and for the first bach of testcases replace
the old dll under the References and point it to the new dll for the
new version 2.5.8
4. Right mouse click on the projects and select debug with NUnit

The problem is that this throws an exception now of the following
nature:

System.IO.FileNotFound Exception. Could not load file or assembly
'nunit.framework, version 2.2.0.0, culture=neutral PublickeyToken =
96d09a1 etc...
The located assembly's manifest definition does not match the assembly
reference (Exception from HRESULT: 0x801etc...)


Can anyone indicate what I am doing wrong and any ways to address
this please? Any ideas/comments/suggestions much appreciated.

Thanks,
Al
 
A

Arne Vajhøj

I'm wonderng can you help me please. I'm dealing with a big C#
solution with around 70 projects inside it. It is using NUnit 2.2.0
and I have been charges with updating to Nunit 2.5.8.

Here was my approach:

1. Using control panel uninstall NUnit 2.2.0
2. Download and install the NUnit 2.5.8 usign the msi
3. Open back up solution and for the first bach of testcases replace
the old dll under the References and point it to the new dll for the
new version 2.5.8
4. Right mouse click on the projects and select debug with NUnit

The problem is that this throws an exception now of the following
nature:

System.IO.FileNotFound Exception. Could not load file or assembly
'nunit.framework, version 2.2.0.0, culture=neutral PublickeyToken =
96d09a1 etc...
The located assembly's manifest definition does not match the assembly
reference (Exception from HRESULT: 0x801etc...)


Can anyone indicate what I am doing wrong and any ways to address
this please? Any ideas/comments/suggestions much appreciated.

Maybe you need to rebuild against the new NUnit version!?

Arne
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top