References to Ranorex libraries

Best practices, code snippets for common functionality, examples, and guidelines.
aidan.mcdonnel
Posts: 8
Joined: Wed Aug 09, 2017 2:11 pm

References to Ranorex libraries

Post by aidan.mcdonnel » Thu Feb 01, 2018 2:54 pm

Hey All

I created a Ranorex solution in the non standard folder i.e. "C:\Ranorex"
This still references the Ranorex core libraries in the installation folder.

However when I try to build the solution on Teamcity of course the build fails because the core libraries are not found.
Is there away to manage this or Do I have to create a lib folder and copy all the resources I require?

Thanks

Aidan

User avatar
Support Team
Site Admin
Site Admin
Posts: 12145
Joined: Fri Jul 07, 2006 4:30 pm
Location: Houston, Texas, USA
Contact:

Re: References to Ranorex libraries

Post by Support Team » Sat Feb 03, 2018 1:48 am

Hi Aidan,

The best practice in this scenario is to use the new portable runtime package introduced in Ranorex 8.0. This forum post provides more information on this topic. You can either use the setting in Ranorex Studio to copy the runtime folder to the output folder or manually copy the runtime directory (from the Ranorex install directory) to the same directory as the test executable.

I hope this helps!

Cheers,
Ned