Ranorex错误TypeInitializationException [英] Ranorex Error TypeInitializationException

查看:153
本文介绍了Ranorex错误TypeInitializationException的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

安装Ranorex后我使用我的代码后工作正常,但卸载后,我有一个Ranorex付费版本库,但我不在我的电脑上安装它,只需要我的库。这行代码显示异常

After I use my code when Ranorex is installed is works fine, but after uninstalled it, I have a library of Ranorex payed version, but I don't install it on my PC, just I need the library. there an exception showed with this line of code

Form form = Host.Local.FindSingle<Ranorex.Form>("form[@processname='" + pr.ProcessName + "']");





在调试模式下显示;



On debug Mode shows ;

'Host.Local' threw an exception of type 'System.TypeInitializationException'





异常:



Exception :

Exception thrown: 'System.TypeInitializationException' in Ranorex.Core.dll Additional information: The type initializer for 'Ranorex.Core.ElementEngine' threw an exception.





是否可以使用我最常安装ranorex的库?



Is that possible for using the library I most have ranorex installed or not?

推荐答案

当然,如果它引用了某些Ranorex类型,你必须安装Ranorex才能运行你的代码。要编译,只需在没有任何许可的情况下安装它就足够了。要运行,您当然需要有效的许可证。请参阅 www.ranorex.com

问候

Andi
Of course you must have Ranorex installed to run your code if it refers to some Ranorex type. To compile, it is sufficient to have it installed without any license. To run, you need of course a valid license. See www.ranorex.com.
Regards
Andi


这篇关于Ranorex错误TypeInitializationException的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆