修改配置:/etc/mono/config

新增以下代码

    <dllmap dll="libglib-2.0-0.dll" target="libglib-2.0.so.0" os="!windows"/>
    <dllmap dll="libgtk-win32-2.0-0.dll" target="libgtk-x11-2.0.so.0" os="!windows"/>
    <dllmap dll="gtksharpglue-2" target="/usr/lib/cli/gtk-sharp-2.0/libgtksharpglue-2.so" os="!windows"/>
    <dllmap dll="glibsharpglue-2" target="/usr/lib/cli/glib-sharp-2.0/libglibsharpglue-2.so" os="!windows"/>
    <dllmap dll="gdksharpglue-2" target="/usr/lib/cli/gdk-sharp-2.0/libgdksharpglue-2.so" os="!windows"/>
    <dllmap dll="libgobject-2.0-0.dll" target="libgobject-2.0.so.0" os="!windows"/>

 

posted on 2017-06-09 17:12  Robbery  阅读(282)  评论(0编辑  收藏  举报