Reputation: 1
I have a c-sharp project inside my visual studio 2010 express , so i did the following to be able to run the Nunit test:- 1. i download the "NUnit-2.6.1.msi". 2, i add a reference to the "Nunit.framework.dll" from the C:\Program Files\NUnit 2.6.1\bin\framework 3. i add the folloiwng configuration from "External Tool"
command: C:\Program Files\NUnit 2.6.1\bin\nunit.exe
Argument: /run $(ProjectDir)/$(ProjectFileName)
Intial Directory: $(ProjectDir).
But when i try to run the Nunit test from Visual studio the following error occured:- This assembly was not built with any known testing framework
Can anyone help me in solving this problem ?? Best Regards
Upvotes: 2
Views: 5050
Reputation: 11
Maybe you are loading an old dll. Check that your dll is the one containing your latest changes. See also NUnit Error: Not a test assembly
Upvotes: 1
Reputation: 890
I ran into this problem once, I solved it by doing the following:
Hope this helps
Upvotes: 9