Hello,
we are using the approach to include the assemblies of Ranorex 10.5.1 in our own IDE (Visual Studio 2022) as it's described here:
https://www.ranorex.com/Documentation/R ... 367234.htm
This worked very well in the past.
Currenty we are switching our .NETFramework from 4.8.2 to .NET6. With this all testassemblies to and now we got a problem during the start of the test: "exit code 42". So it indicates a problem with our license.
To ensure that there is no problem with that i switched to .NET 4.8.2 and all runs fine. So there is a problem with running Ranorex in a .NET6 testassembly.
Maybe here can somebody help to solve my problem to run tests with Ranorex in .NET6 and our own IDE.
Greets,
Justin
Problems of running tests in .NET6 environment
-
- Posts: 1
- Joined: Thu Jul 18, 2019 6:22 am
-
- Posts: 3
- Joined: Thu May 10, 2018 6:28 pm
Re: Problems of running tests in .NET6 environment
Hi!
Did you get this working? I'm also running "old" .NET 4.7.2 Visual Studio and tried creating a new project with .NET6 in Visual Studio Code, but also get errors. Don't want to spend time investigating if it's not even possible to get it working...
I get this error when trying to use any Ranorex API-method:
System.IO.FileNotFoundException : Could not load file or assembly 'System.Security.Permissions, Version=0.0.0.0......
The Ranorex.Core.Resolver.AssemblyLoader.Initialize();-line works fine (not throwing errors).
/Jens
Did you get this working? I'm also running "old" .NET 4.7.2 Visual Studio and tried creating a new project with .NET6 in Visual Studio Code, but also get errors. Don't want to spend time investigating if it's not even possible to get it working...
I get this error when trying to use any Ranorex API-method:
System.IO.FileNotFoundException : Could not load file or assembly 'System.Security.Permissions, Version=0.0.0.0......
The Ranorex.Core.Resolver.AssemblyLoader.Initialize();-line works fine (not throwing errors).
/Jens
Re: Problems of running tests in .NET6 environment
I am wondering the same. Currently I am using Ranorex 10.5.4, but its C# counterpart only compiles if I use .NET Framework 4.8.
I am interested in porting my test solution to run in Linux; therefore .NET 6, 7 or any .NET Core for that matter.
Anyone here from Ranorex who can answer on this?
Thanks!
I am interested in porting my test solution to run in Linux; therefore .NET 6, 7 or any .NET Core for that matter.
Anyone here from Ranorex who can answer on this?
Thanks!