Monodevelop cannot find the System,System.Core,System.Xml and System.Xml.Linq references when I am working on an Unity project, even if Mono is installed and can build a regular C# program. Unity can run the scripts I write, but since Monodevelop can’t find the references, I can’t debug them. Can anyone help me, please?
The same thing is happening for me after updatin to 5.4 beta. Any solutions?
Here’s what worked for me:My mono installation is located a /usr/lib/mono/. So, in MonoDevelop, I went to “Edit”->“Preferences”->“.NET Runtime” and selected added a runtime at /usr. You may also need to install the correct version of mono, i.e. “sudo apt-get install mono-reference-assemblies-4.0”, “sudo apt-get install mono-reference-assemblies-3.5”, or “sudo apt-get install mono-reference-assemblies-2.0”.
If the solution didn’t work, I have found a way, unfortunate I made a same threat and I will delete that in a moment. Here is the solution as pdf file of a blog.
Basically you reinstall monodevelop from Alpha repo. Downloads all compatible versions of dependencies
2656664–187297–28631da8-cc95-4e21-b43f-0beebdc814e7.pdf (87.8 KB)