我现在搜索了很长时间,但找不到解决我的问题的方法:
我成功编译了 ac# 项目(使用 monodevelop)
当我尝试使用 >mono fubar.exe 运行它时,我得到以下输出:
Error loading UIA bridge (UiaDbusBridge, Version=1.0.0.0, Culture=neutral, PublicKeyToken=f4ceacb585d99812): System.IO.FileNotFoundException: Could not load file or assembly 'UiaDbusBridge, Version=1.0.0.0, Culture=neutral, PublicKeyToken=f4ceacb585d99812' or one of its dependencies. The system cannot find the file specified. File name: 'UiaDbusBridge, Version=1.0.0.0, Culture=neutral, PublicKeyToken=f4ceacb585d99812'at System.AppDomain.Load (System.String assemblyString, System.Security.Policy.Evidence assemblySecurity, Boolean refonly) [0x00000] in <filename unknown>:0
我还安装了软件包:libmono-uia-*
感谢您的每一次帮助
和
MONO_PATH=/usr/lib/uiaatkbridge/mono fubar.exe
我得到:
Error loading UIA bridge (UiaDbusBridge, Version=1.0.0.0, Culture=neutral, PublicKeyToken=f4ceacb585d99812): System.IO.FileNotFoundException: Could not load file or assembly 'UiaDbusBridge, Version=1.0.0.0, Culture=neutral, PublicKeyToken=f4ceacb585d99812' or one of its dependencies. The system cannot find the file specified.
File name: 'UiaDbusBridge, Version=1.0.0.0, Culture=neutral, PublicKeyToken=f4ceacb585d99812'
at System.AppDomain.Load (System.String assemblyString, System.Security.Policy.Evidence assemblySecurity, Boolean refonly) [0x00000] in <filename unknown>:0
at System.AppDomain.Load (System.String assemblyString) [0x00000] in <filename unknown>:0
at (wrapper remoting-invoke-with-check) System.AppDomain:Load (string)
at System.Reflection.Assembly.Load (System.String assemblyString) [0x00000] in <filename unknown>:0
at System.Windows.Automation.Provider.BridgeManager.GetAutomationBridge (System.String bridgeAssemblyName) [0x00000] in <filename unknown>:0
第一:感谢您的回复
find / | grep uiadbusbridge
没有给出结果,但我认为包是这样命名的......如果我只搜索“uia”,我会得到以下结果:
/var/lib/dpkg/info/libmono-uia-atkbridge1.0-cil.md5sums
/var/lib/dpkg/info/libmono-uia-winforms1.0-cil.md5sums
/var/lib/dpkg/info/libmono-uia-winforms1.0-cil.list
/var/lib/dpkg/info/libmono-uia-atkbridge1.0-cil.list
/var/lib/dpkg/info/libmono-uia3.0-cil.clilibs
/var/lib/dpkg/info/libmono-uia-winforms1.0-cil.clilibs
/var/lib/dpkg/info/libmono-uia-cil-dev.list
/var/lib/dpkg/info/libmono-uia-cil-dev.md5sums
/var/lib/dpkg/info/libmono-uia-atkbridge1.0-cil.postrm
/var/lib/dpkg/info/libmono-uia3.0-cil.list
/var/lib/dpkg/info/libmono-uia-atkbridge1.0-cil.postinst
/var/lib/dpkg/info/libmono-uia-atkbridge1.0-cil.clilibs
/var/lib/dpkg/info/libmono-uia3.0-cil.md5sums
/var/lib/dpkg/info/libmono-uia-atkbridge1.0-cil.shlibs
/usr/lib/uiautomationwinforms
/usr/lib/uiautomationwinforms/UIAutomationWinforms.dll
/usr/lib/uiaatkbridge
/usr/lib/uiaatkbridge/UiaAtkBridge.dll.config
/usr/lib/uiaatkbridge/UiaAtkBridge.dll
/usr/lib/uiaatkbridge/libbridge-glue.so
/usr/lib/pkgconfig/mono-uia.pc
/usr/share/app-install/desktop/amule-adunanza-utils-gui:amuleguiadunanza.desktop
/usr/share/app-install/icons/amuleguiadunanza.png
/usr/share/doc/libmono-uia-winforms1.0-cil
/usr/share/doc/libmono-uia-winforms1.0-cil/copyright
/usr/share/doc/libmono-uia-winforms1.0-cil/NEWS.gz
/usr/share/doc/libmono-uia-winforms1.0-cil/README
/usr/share/doc/libmono-uia-winforms1.0-cil/changelog.Debian.gz
/usr/share/doc/libmono-uia-cil-dev
/usr/share/doc/libmono-uia-cil-dev/copyright
/usr/share/doc/libmono-uia-cil-dev/changelog.Debian.gz
/usr/share/doc/libmono-uia-atkbridge1.0-cil
/usr/share/doc/libmono-uia-atkbridge1.0-cil/copyright
/usr/share/doc/libmono-uia-atkbridge1.0-cil/NEWS.gz
/usr/share/doc/libmono-uia-atkbridge1.0-cil/README
/usr/share/doc/libmono-uia-atkbridge1.0-cil/changelog.Debian.gz
/usr/share/doc/libmono-uia3.0-cil
/usr/share/doc/libmono-uia3.0-cil/copyright
/usr/share/doc/libmono-uia3.0-cil/NEWS.gz
/usr/share/doc/libmono-uia3.0-cil/README
/usr/share/doc/libmono-uia3.0-cil/changelog.Debian.gz