473,779 Members | 2,072 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Multiple NUnit and .NET version interaction failure

nikpreek
22 New Member
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.f ramework.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 2864
nateraaaa
663 Recognized Expert Contributor
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.f ramework.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
nikpreek
22 New Member
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
494
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: > nunit-console.exe foo.dll bar.dll Both foo.dll.config and bar.dll.config exists in the same directory. What seems to happen, though, is that only one of the config files is loaded (bar.dll.config), wich causes my nunit tests in foo.dll to...
2
1776
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 with database if it returns right value or not. To do so, I need to save all inputs and results as development, debugging goes on.. But, NUnit doesn't seem to support it. and It require wrong Test coding.
2
14243
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 following examples that came with NUnit and when I tried to compile Nunit test file here is the error i received: ========================================================================
3
1821
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 test asp.net? What is it called, and how do you like what you are using? Any problems testing user controls with it? Any body have any real world examples of Nunit with asp.net that they can share. Just a skeleton layout would suffice. How many...
20
2026
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. Hence can someone who has used them before share his/her experience on them so that I can get a better idea and make a proper choice ? Any link or suggestions are also welcome. Thanks and Regards, Parag
2
5158
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 (e.g. nunit.util.tests.dll) so the install of NUnit seems OK. I've compiled one of the sample projects (csharp-sample_VS2005). When I do so I get the following warning after a build:
7
2703
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 u guys must have guessed by now... And then this is i have a windows form is which is the client and i have a listener... Now when i need to have multiple clients basically i got to copy paste the codes and its actually a pain... Need Urgent...
2
2740
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 the DLL into NUnit, none of the tests load. The console output : NUnit version 2.2.9 Copyright (C) 2002-2003 James W. Newkirk, Michael C. Two, Alexei A. Vorontsov, Charlie Poole.
1
3004
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 myCurrentToken = new UsernameToken("xxxx", "YYY", PasswordOption.SendPlainText); MyServicesWse adminServices = new MyServicesWse();
0
9636
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9474
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10139
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10075
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8961
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7485
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6727
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
2
3632
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2869
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.