DColin
asked on
Visual C# 2010 Express compile error
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?
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?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
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.
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.
so it might be the case the web config entries for nunit might not be the same as in the GAC