首页 > 代码库 > Could not load file using Ranorex runtime : General Questions

Could not load file using Ranorex runtime : General Questions

如果你将编译好的bin文件夹复制到另一个未安装Ranorex程序的电脑上运行遇到如下错误信息

Could not load file or assembly ‘Ranorex.Core, Version=2.3.3.8879, Culture=neutral, PublicKeyToken=b798506b574ebc9a‘ or one of its dependencies. The system cannot find the file specified

说明未找到Ranorex.Core,那么你可以在程序References里找到Ranorex.Core文件,右键单击找到属性,将属性Copy Local的值改为True,再重新编译即可解决此问题。

Could not load file using Ranorex runtime : General Questions