Page 1 of 1

Option to skip auto-ranorex assembly references

Posted: Thu Dec 19, 2013 11:59 pm
by brogdonm
I have a PCL (portable class library) DLL that I use in other code projects (that are not Ranorex based), when I add this existing project to a Ranorex solution, it changes the project by adding a bunch of Ranorex assemblies. The library will never call any of the methods/functions within the Ranorex assemblies, so there is no need in the inclusion. And when I open the project within another solution, which is on a development machine without Ranorex, I get a load of warnings stating it can't find the referenced assemblies. Granted, I am still able to compile and run with the warnings, but it would still be nice to not see the warnings, potentially masking out real warnings that I care about.

Is there a setting in the Studio to skip this inclusion? If so, could someone point me in the right direction. If not so, I would recommend it as a feature in future release/updates.

Re: Option to skip auto-ranorex assembly references

Posted: Thu Jan 02, 2014 3:45 pm
by Support Team
Hello brogdonm,

Ranorex libraries are referenced automatically if you open your project in Ranorex Studio.
We have implemented it since a lot of our customers make use of our Ranorex libraries.

Unfortunately, there is currently no specific setting to ignore these warnings but possibly in a future release.
Would it be an option for you to add your DLL as a referenced assembly in your solution?

Regards,
Markus (T)

Re: Option to skip auto-ranorex assembly references

Posted: Thu Jan 02, 2014 3:52 pm
by krstcs
If you are actually using the library as a library, you should compile it to a DLL and just include that compiled DLL in your Ranorex project instead of linking the actual library project.