Ranorex Automation Helpers.csproj' does not exist.

Ask general questions here.
Shahzad
Posts: 3
Joined: Fri Oct 22, 2021 8:49 am

Ranorex Automation Helpers.csproj' does not exist.

Post by Shahzad » Fri Oct 22, 2021 2:32 pm

Hello, was wondering if anyone can help me with the following 2 errors I am receiving in regards to Automation Helpers:

Error1
The referenced project 'RanorexAutomationHelpers\Ranorex Automation Helpers.csproj' does not exist.

Error 2
Compile Error:Metadata file 'c:\Ranorex QPRO V2 (Not Working)\QPRO\QPRO\Common\RanorexAutomationHelpers\Ranorex Automation Helpers.csproj' could not be opened -- 'File is corrupt.' - C:\Ranorex QPRO V2 (Not Working)\QPRO\QPRO\bin\Debug\Access_QPRO_V2.Runner.exe

I have searched this forum and other websites hoping to find a solution to this problem but have not been able to resolve. I am running the latest version of Ranorex (10.1.2) on a Windows 10 Surface laptop. I have uninstalled and reinstalled Automation Helpers numerous times as per suggestions here and have also uninstalled and reinstalled Ranorex. I have even downgraded to the previous version of Ranorex in an attempt to resolve. I have the latest version of NET.Framework so unable to downgrade to a previous version. I have compared my solution folder structure to another working solution and see no obvious issues.
Ranorex support have simply sent my a link to the Automation Helpers download page and another link to their Mastering Automation Helpers video, both of which have no reference to my error or any error or troubleshooting of any kind. Really disappointed with the lack of support and response from Ranorex, so hence reaching out here, in case somebody can offer a solution or at least point me in the right direction. I am happy to post snapshots of my solution if requested, although I feel the above 2 error messages alone should be sufficient to at least determine what the problem is, but so far, there is little to no information on how to resolve this. Both above errors appear together regardless if I run an individual recording or a whole test suite. Any help on this would be appreciated.

Jacob
Certified Professional
Certified Professional
Posts: 120
Joined: Mon Mar 22, 2021 10:01 pm

Re: Ranorex Automation Helpers.csproj' does not exist.

Post by Jacob » Fri Oct 22, 2021 7:24 pm

Hi Shahzad,

It sounds like the Automation Helpers have corrupted files, or are missing entirely. You will need to remove the associated libraries and files from Ranorex Studio manually. Before doing anything, please make sure there is a backup of your Ranorex Solution. To do this, I would suggest the following:
1. Click the Project menu at the top of Ranorex Studio
2. Select Manage Packages from the context menu
3. In the new Manage Packages window, click the Installed tab
4. Locate the Ranorex Automation Helpers package and select it
5. Click the Remove button

After the uninstall is complete, you should be able to re-install the Automation Helpers.
--Jacob
Image

Shahzad
Posts: 3
Joined: Fri Oct 22, 2021 8:49 am

Re: Ranorex Automation Helpers.csproj' does not exist.

Post by Shahzad » Thu Nov 11, 2021 3:53 pm

Hi Jacob. Thanks for the prompt response and apologies about my late reply. Unfortunately I had already tried this. The eventual solution was to delete a 2nd instance of Automation Helpers within the references list. Despite removing and installing the Automation Helpers again, within the folder, it still contained reference from earlier version. Simply had to remove the older version. Extremely simple solution which should have been suggested first instead of sending Mr around the houses. Hope this helps someone in the future. Thanks again for responding.