适用于Android的Mono没有出现在MonoDevelop选项中 [英] Mono for Android not appearing in the MonoDevelop options
问题描述
我已经按照Windows安装页面上的说明安装了Android版Mono和MonoDevelop版. ( http://mono-android.net/Installation/Windows ).但是,"Mono for Android SDKs"选项不会出现在选项对话框中.
I have installed Mono for Android and MonoDevelop as per instructions on the install page for Windows. (http://mono-android.net/Installation/Windows). However the "Mono for Android SDKs" option does not appear in the options dialog.
我已经重新安装了MonoDevelop 2.6.3 Beta,但是没有运气.有人以前见过这个问题吗?
I have reinstalled MonoDevelop 2.6.3 Beta, but no luck. Any one see this issue before?
找到了.我不得不重新加载存储库,它们最初没有出现...但是,现在当我尝试访问选项时出现了异常:
Found it. I had to reload the repositories, they didn't appear initially...however, now I have an exception when I try to access the options:
System.Reflection.TargetInvocationException:调用的目标引发了异常. ---> System.IO.FileNotFoundException:无法加载文件或程序集'Mono.Posix,版本= 4.0.0.0,区域性=中性,PublicKeyToken = 0738eb9f132ed756'或其依赖项之一.系统找不到指定的文件.
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.IO.FileNotFoundException: Could not load file or assembly 'Mono.Posix, Version=4.0.0.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756' or one of its dependencies. The system cannot find the file specified.
推荐答案
问题是GTK#运行时库仅具有文件Mono.Posix.dll的2.0.0.0版本.我已经使用Beta版完成了设置,但仍然面临此问题.如果只有我可以掌握Mono.Posix.dll版本4.0.0.0,可以尝试在GTK#安装目录中替换该文件,然后看看会发生什么.
The issue is that the GTK# runtime library only has the version 2.0.0.0 of the file Mono.Posix.dll. I have done my setup using the beta version and still am facing this issue. If only I could get hold of the Mono.Posix.dll version 4.0.0.0 I could try replacing that file in my GTK# installation directory and see what happens.
UPDATE : It seems the latest version (4.0.0.0) of the missing file can be found if one installs http://mono.ximian.com/monobuild/preview/archive/2.10.2/windows-installer/5/mono-2.10.2-gtksharp-2.12.10-win32-5.exe and copy the Mono.Posix.dll from the installed directory to the Plugin Folder
从C:\ Program Files \ Mono-2.10.2 \ lib \ mono \ 4.0 \ Mono.Posix.dll复制
Copy from C:\Program Files\Mono-2.10.2\lib\mono\4.0\Mono.Posix.dll
粘贴到C:\ Users \ YOUR_LOGON \ AppData \ Local \ MonoDevelop-2.6 \ Addins \ MonoDevelop.MonoAndroid.2.6.4 \
Paste in C:\Users\YOUR_LOGON\AppData\Local\MonoDevelop-2.6\Addins\MonoDevelop.MonoAndroid.2.6.4\
为我工作.
这篇关于适用于Android的Mono没有出现在MonoDevelop选项中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!