简体   繁体   English

Ranorex 8 / 8.1调用在.net Framework 4.6.1下编写的外部程序集

[英]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.

相关问题 Visual Studio - .NET Framework 4.6.1 问题,适用于使用 Windows 8.1 或更低版本的用户 - Visual Studio - .NET Framework 4.6.1 Issue for users with Windows 8.1 or Older 假货和 .net Framework 4.6.1 和系统 - Fakes and .net Framework 4.6.1 and System C# .NET 4.6.1 实体框架 - 尽管没有调用 DB.SaveChanges(),但 DB.MyTable.Add(...) 还是很慢 - C# .NET 4.6.1 Entity Framework - DB.MyTable.Add(...) is slow despite NOT calling DB.SaveChanges() 在 Xamarin 项目中面向 .NET Framework 4.6.1 - Targeting .NET Framework 4.6.1 in Xamarin project 将.NET Framework升级到4.6.1并获取套接字异常 - Upgraded .NET Framework to 4.6.1 and getting socket exceptions .Net Framework 4.6.1 MVC 集成测试 - .Net Framework 4.6.1 MVC integration testing MacOS/VisualStudioCode/Omnisharp 缺少 .NET Framework 4.6.1 - MacOS/VisualStudioCode/Omnisharp missing .NET Framework 4.6.1 如何在.NET Framework 4.6.1中使用IActionResult? - How to use IActionResult in .NET Framework 4.6.1? 将 .NET Framework 4.6.1 更新到 4.8 后出错 - Error after updating .NET Framework 4.6.1 to 4.8 ClickOnce部署.Net Framework 4.6.1安装错误 - ClickOnce Deployment .Net Framework 4.6.1 installation error
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM