- Home /
Monodevelop Go to declaration bug
From Monodevelop C# I right click on the funtion 'StartCoroutine' and select 'Go to declaration'
When the Assembly Browser pops up the text selection is not working correctly in the right hand window with the source code.
Is there a bug reporting system in place and i just missed it?
Answer by Tak · Dec 09, 2010 at 01:49 PM
The preferred way of reporting MonoDevelop bugs is using the Unity bug reporter (Help -> Report a Bug from the Unity editor). Alternatively, non-Unity-specific MD bugs may also be reported at http://bugzilla.novell.com (it will ask you to create an account).
When you report a bug, please be specific about what's not working correctly. I.e., what behavior you expect from the text selection, and what the actual behavior is.
Answer by yoyo · Aug 14, 2013 at 07:16 PM
To get the Assembly Browser window to work in MonoDevelop you need to tell it where to find the Unity and Mono assemblies. Go to Tools > Options > Build and then select the Assembly Folders tab. On my Windows 7 installation it was sufficient to add these two paths:
C:\Program Files (x86)\Unity\Editor\Data\Managed
C:\Program Files (x86)\Unity\Editor\Data\Mono\lib\mono\2.0
Don't forget to push the Add button after you browse to the folder. (Paths will obviously be a little different on a Mac.)
With those added you should be able to right-click on Unity methods (like StartCoroutine) and "Go to declaration".