How to access Project B re usable functions from Project A
Posted: Mon Apr 15, 2019 9:31 am
Hello,
I have 2 projects in my Ranorex solution- Project A and Project B. I want to access a User code Method (reusable function) which is defined in Project B from Project A.
Added the Project B reference in Project A and I am able to see the User Code in the “Local and Derived Method” listing in Project A.
But after I add the function and when I execute the user code I am getting the below compiler error .
The name 'xxx' does not exist in the current context (CS0103) - C:\Users\xxx\Documents\Ranorex\RanorexStudio Projects\Delete\Delete\ARecording1.cs:82,13”
How to solve this issue so as to create and access reusable functions across multiple projects?
I have 2 projects in my Ranorex solution- Project A and Project B. I want to access a User code Method (reusable function) which is defined in Project B from Project A.
Added the Project B reference in Project A and I am able to see the User Code in the “Local and Derived Method” listing in Project A.
But after I add the function and when I execute the user code I am getting the below compiler error .
The name 'xxx' does not exist in the current context (CS0103) - C:\Users\xxx\Documents\Ranorex\RanorexStudio Projects\Delete\Delete\ARecording1.cs:82,13”
How to solve this issue so as to create and access reusable functions across multiple projects?