Pass variable to Repository hosted in separate project
Posted: Wed Mar 28, 2018 4:07 pm
I have a Ranorex setup running on our CI and working no problems.
We test multiple environments so my Repository takes in a $RootDomain variable depending on which environment is being tested. All working fine when everything was contained in one project in the solution.
I am now looking at restructuring the whole setup to make it more reusable for multiple projects going forward.
I have moved the Repository out in to its own separate project and reference it from other projects in the solution - this is working for the majority of use cases.
The one issue I have is the Repository items which were using the $RootDomain variable. Now it is in a separate project I don't seem to be able to provide this value to the Repository from my other projects in the solution. Does anyone know how this can be achieved?
We test multiple environments so my Repository takes in a $RootDomain variable depending on which environment is being tested. All working fine when everything was contained in one project in the solution.
I am now looking at restructuring the whole setup to make it more reusable for multiple projects going forward.
I have moved the Repository out in to its own separate project and reference it from other projects in the solution - this is working for the majority of use cases.
The one issue I have is the Repository items which were using the $RootDomain variable. Now it is in a separate project I don't seem to be able to provide this value to the Repository from my other projects in the solution. Does anyone know how this can be achieved?