简体   繁体   中英

Use Mono for Windows in MonoDevelop for Unity

I have a problem compiling c# code in Unity's MonoDevelop tool. I found in this question that I should download Mono for Windows and use that as default runtime in MonoDevelop.

Compiling C# via Unity3D and MonoDevelop

But I can't figure out how to configure it as default runtime.

The answer says 'find the installed Mono release', which in my case is C:\\Program Files (x86)\\Mono But MonoDevelop keeps complaining about that it is not a valid a directory prefix. I also tried subdirectories \\bin, \\etc\\mono\\4.5, \\include\\mono2.0\\mono, \\lib\\mono and \\share\\mono2-0\\mono, and a lot more but none are accepted.

Can someone tell me which directory I should use?

Thanks.

Maybe, Monodevelop is not associated with Unity. Go under Edit -> Preferences -> External Tools and see if Monodevelop is selected as external script editor.and 1-install jxpiinstall 2-mono-4.0.3-gtksharp-2.12.26-win32-0.msi 3-XamarinStudio-5.9.6.23-0.msi 在此输入图像描述

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM