Unit Test Tools and building from MonoDevelop


I’m trying to use Unity Test Tools. I created a new project, imported it from the asset store and ran the unit test. No errors so far. But if I try to build in MonoDevelop (or in emacs using omnisharp plugin), it tells me that it cannot find NUnit:

The type or namespace name ‘NUnit’ could not be found. Are you missing a using directive or an assembly reference?

In MonoDevelop I went to Project → Edit References and added nunit.core, nunit.framework, nunit.core.interfaces (all provided by MonoDevelop-Unity). Then it said it couldn’t find Mono.Cecil, I added that too.

Now it tells me it cannot find Mono.Cecil.Mdb which I cannot find in the list of packages of “Edit References”

Shouldn’t it already be there? Where should I get it from?

Also these changes made in MonoDevelop do not persist and Unity seems to overwrite them when syncing the solution. Do I have to add them every time manually?

Thanx :slight_smile:

I’m using Unity 5.0.0f4 personal on OSX Yosemite

Finally found the answer here: