[英]Ranorex 8/8.1 calling an external assembly written under .net framework 4.6.1
Im new to ranorex, and i need to know if i can reference a .dll written in csharp under the .net framework 4.6.1 that allows me to do some data setup prior to testing. 我是ranorex的新手,我需要知道是否可以引用.net框架4.6.1下用csharp编写的.dll,该文件允许我在测试之前进行一些数据设置。
I want to use ranorex studio ide still, and not have to export tests to visual studio. 我想仍然使用ranorex Studio ide,而不必将测试导出到Visual Studio。 Essentially just call a method in this assembly. 本质上只是在此程序集中调用一个方法。 Can this be Done? 能做完吗? I keep hearing ranorex does not support 4.6.1 我一直在听ranorex不支持4.6.1
As you may have noticed already, a Ranorex solution is basically a Visual Studio solution. 您可能已经注意到,Ranorex解决方案基本上是Visual Studio解决方案。 I have just verified in Ranorex and the target framework of a Ranorex project can be set to 4.6. 我刚刚在Ranorex中进行了验证,并且Ranorex项目的目标框架可以设置为4.6。
Hence, calling a function from another DLL would simply required that you add a reference to that DLL and then call it from user code. 因此,从另一个DLL调用函数仅需要您添加对该DLL的引用,然后从用户代码中调用它。
Hope this helps... 希望这可以帮助...
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.