473,320 Members | 1,848 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

Multiple NUnit and .NET version interaction failure

nikpreek
Hi All,

I've VS 2003 (.NET 1.1) and VS 2005 (.NET 2.0) on my dev PC. For different projects I also have different NUnit versions (2.2.8, 2.4, 2.4.1).
For this particular project in VS 2003 and NUnit 2.4 all my projects get built except Test Suite. When I try to build test suite I get following error:
Metadata file 'c:\Program Files\NUnit 2.4\bin\nunit.framework.dll' could not be opened -- 'Version 2.0 is not a compatible version.'

Could anyone please explain why?

Thanks in advance for helping out.

Regards,
Nik
Aug 8 '07 #1
2 2846
nateraaaa
663 Expert 512MB
Hi All,

I've VS 2003 (.NET 1.1) and VS 2005 (.NET 2.0) on my dev PC. For different projects I also have different NUnit versions (2.2.8, 2.4, 2.4.1).
For this particular project in VS 2003 and NUnit 2.4 all my projects get built except Test Suite. When I try to build test suite I get following error:
Metadata file 'c:\Program Files\NUnit 2.4\bin\nunit.framework.dll' could not be opened -- 'Version 2.0 is not a compatible version.'

Could anyone please explain why?

Thanks in advance for helping out.

Regards,
Nik
I would recommend using the same version of NUnit for an entire solution. The references seem to change when trying to use multiple NUnit versions. A group of developers at my company are currently developing an application that uses VS 1.1 as the Client and VS 2.0 to create the Web Services used by the Client. We had to change both solutions to use NUnit 2.2.8 because the references were being switched in SourceSafe when new code was checked in. Try using the same version throughout your solution and let us know if that fixes your problem.

Nathan
Aug 8 '07 #2
I would recommend using the same version of NUnit for an entire solution. .........................
Nathan
Thanks for reply, Nathan.
But, what I meant is, I've got all these versions installed on my PC. But my entire solution is in .NET 1.1 and only one project (Test Suite) refers NUnit version 2.4, that's all.
But still I'm getting this error.
I'm still struggling to get any answer myself.
If I get any answer, I'll sure post it here.
Aug 8 '07 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

1
by: Klas Mellbourn | last post by:
I have several assemblies, in separate dll:s, each with nunit tests embedded. Every assembly requires its own config file. I would like to run all nunit tests on the same command line. Like this: ...
2
by: Sky Kim | last post by:
Hi, all. I've know NUnit for a while, now I try to use it. Most of application I develope is data base driven. I want to test data layer most with may input and checking the result, then compare...
2
by: d2d | last post by:
How are you doing there folks? I just have this newbie question about how to compile an NUnit test file from command line using "csc.exe" I installed NUnit 2.1 using *.msi file. I was...
3
by: JJ | last post by:
Hi, In Nunit testing with asp.net are you guys creating a separate Test assembly for testing or integrating right in class themselves? Is anyone using a third party Unit Test addon for Nunit to...
20
by: Parag | last post by:
Hi, I am trying to figure out best testing tool for my project. I have narrowed down my requirements to two tools NUNIT and VSTS unit. But I have used neither and I have to use only one of them....
2
by: JohnGoogle | last post by:
Hi, I'm a newbie so sorry if there is a simple answer to this! I'm using C# in Visual Studio Express at the moment. I've downloaded NUnit v 2.2.8 and can load and run the tests they supply...
7
by: Chacko | last post by:
Hi could anyone tell me how to simulate multiple clients for a windows form without actually me having to copy paste the code. Cause its a real pain.... The thing is i am working on remoting which...
2
by: j | last post by:
I've used NUnit before, but I've never had this problem. I am trying to test a web service. I've written my tests, decorated the fixture, and the tests and everything compiles, but when I load...
1
by: nyathancha | last post by:
Hi, I am using WSE to implement security using x509 certificates. This works when I use a windows client but throws an exception when I use NUnit. My Code looks as follows : UsernameToken...
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.