Page 1 of 1

How to speed up Ranorex solution build?

Posted: Tue Feb 13, 2018 5:40 pm
by Fergal
One suggestion for speeding up the time it takes to build a Ranorex solution, might be to go through the solution and delete any old code or recording modules that are no longer used by the solution. With less modules, the solution will build faster.

Would it also help to delete the contents of the "bin" folder? Is there a risk to deleting the "bin" folder contents?

Do you have any other suggestions for optimizing a Ranorex solution, to reduce the time it takes to build?

Thanks.

Re: How to speed up Ranorex solution build?

Posted: Wed Feb 14, 2018 8:34 am
by odklizec
Hi,

There is no risk with deleting bin folder. You can also delete obj folder as well, because Ranorex regenerates the content of bin and obj during build process. However, I don't think this will somehow speed up the build process? If your test suite is rather large, it may take some time to build it. What exactly is your problem? How long does it take to build the solution? Have you tried it on another computer? What can speed things up is reducing the number and size of files included in project and copied to output directory. If there is too many (and large) files to copy, then it may take some time to build the project. Also, using excels for data connectors is bad idea too. Too many of them will definitely make the build slower and not only build! Opening excel data connectors takes much longer than csv data connectors!

Re: How to speed up Ranorex solution build?

Posted: Wed Feb 14, 2018 3:10 pm
by Fergal
Thanks for your reply and helpful ideas odklizec. When the solution is built it builds over 400 files and can take a few minutes to complete the build. I have deleted the bin and obj folders and rebuilt the solution. That does seem to have helped, so thanks for that. The project does not use Excel data connections.

I will also go through the solution and remove old unused modules.

Thanks again.

Re: How to speed up Ranorex solution build?

Posted: Thu Sep 28, 2023 3:37 am
by SirJay
thanks for this thread. ive deleted the bin and obj. it helped speed up. though hopefully this approach will always be consistent.