Solved

Visual C# 2010 Express compile error

Posted on 2010-11-17
3
312 Views
Last Modified: 2012-05-10
Hi Experts,

I am receiving the folowing error when I try to run some code I have downloaded:

The type or namespace name 'NUnit' could not be found (are you missing a using directive or an assembly reference?)

I have installed NUnit how do I 'tell' the code I am trying to run where it is?
0
Comment
Question by:DColin
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 10

Accepted Solution

by:
hosneylk earned 500 total points
ID: 34161782
have you added NUnit as a reference to your project?
0
 
LVL 26

Expert Comment

by:Anurag Thakur
ID: 34162051
when nunit is installed the assemblies are added into gac
so it might be the case the web config entries for nunit might not be the same as in the GAC
0
 

Author Comment

by:DColin
ID: 34162176
hosneylk:
have you added NUnit as a reference to your project?

No how do I do this.

I the Add Reference dialogue box under the .Net tab there is nunit.framework and nunit.mocks. I have selected both of these and they now appear listed under references with the other project files in the solution explorer. When I try to run the code it gives the same error.
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A long time ago (May 2011), I have written an article showing you how to create a DLL using Visual Studio 2005 to be hosted in SQL Server 2005. That was valid at that time and it is still valid if you are still using these versions. You can still re…
The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
In this video, viewers are given an introduction to using the Windows 10 Snipping Tool, how to quickly locate it when it's needed and also how make it always available with a single click of a mouse button, by pinning it to the Desktop Task Bar. Int…
Monitoring a network: how to monitor network services and why? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the philosophy behind service monitoring and why a handshake validation is critical in network monitoring. Software utilized …

636 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question