Upgrade Ranorex 8.1 to Ranorex 9.5.1

Ranorex Spy, Recorder, and Studio.
Rakesh123
Posts: 70
Joined: Thu Oct 28, 2010 2:18 pm

Upgrade Ranorex 8.1 to Ranorex 9.5.1

Post by Rakesh123 » Sat Nov 20, 2021 5:48 pm

Hello All,

After upgrading from Ranorex 8.1 to Ranorex 9.5.1,I am getting below error when I compile Ranorex Solution.

Thanks,
Rakesh
Attachments
Ranore 9.5.1_Issue.jpg
Ranore 9.5.1_Issue.jpg (40.96 KiB) Viewed 165 times

User avatar
odklizec
Ranorex Guru
Ranorex Guru
Posts: 7076
Joined: Mon Aug 13, 2012 9:54 am
Location: Zilina, Slovakia

Re: Upgrade Ranorex 8.1 to Ranorex 9.5.1

Post by odklizec » Tue Nov 23, 2021 7:49 am

Hi,

Is it an error from local or remote execution of test? Also, please make sure there are installed all system pre-requisities, namely .NET 4.6.2. It should be installed by default by Ranorex, but as far as I remember, some machines required also .Net 4.6.2 SDK, which is not a part of Ranorex setup, so get this one from MS web. In case of remote execution, don't forget to update remote agents on target machines as well!
Pavel Kudrys
Ranorex explorer at Descartes Systems

Please add these details to your questions:
  • Ranorex Snapshot. Learn how to create one >here<
  • Ranorex xPath of problematic element(s)
  • Ranorex version
  • OS version
  • HW configuration

Rakesh123
Posts: 70
Joined: Thu Oct 28, 2010 2:18 pm

Re: Upgrade Ranorex 8.1 to Ranorex 9.5.1

Post by Rakesh123 » Tue Nov 23, 2021 7:59 am

Hi,

I am facing this issue in my local machine.Ye s .NET Framework 4.6.2.SDK is already installed.



Thanks,
Rakesh
Attachments
.Net Framework 4.6.2.JPG
.Net Framework 4.6.2.JPG (24.83 KiB) Viewed 141 times

User avatar
odklizec
Ranorex Guru
Ranorex Guru
Posts: 7076
Joined: Mon Aug 13, 2012 9:54 am
Location: Zilina, Slovakia

Re: Upgrade Ranorex 8.1 to Ranorex 9.5.1

Post by odklizec » Tue Nov 23, 2021 8:23 am

OK,

Could you please try to build a fresh new solution? Does it work? If so, is there something special about failing solution, like references from other projects, added Ranorex automation helpers and so on?
Pavel Kudrys
Ranorex explorer at Descartes Systems

Please add these details to your questions:
  • Ranorex Snapshot. Learn how to create one >here<
  • Ranorex xPath of problematic element(s)
  • Ranorex version
  • OS version
  • HW configuration

Rakesh123
Posts: 70
Joined: Thu Oct 28, 2010 2:18 pm

Re: Upgrade Ranorex 8.1 to Ranorex 9.5.1

Post by Rakesh123 » Thu Nov 25, 2021 6:24 am

Hi,

Even after removing all the references I am getting same issue.

Thanks,
Rakesh

User avatar
odklizec
Ranorex Guru
Ranorex Guru
Posts: 7076
Joined: Mon Aug 13, 2012 9:54 am
Location: Zilina, Slovakia

Re: Upgrade Ranorex 8.1 to Ranorex 9.5.1

Post by odklizec » Thu Nov 25, 2021 7:32 am

Hi,

What happens if you try to build a fresh new solution? I guess it will work?

Anyway, it does not appear to be a Ranorex problem, but rather a MS Build issue? Please follow the steps suggested in this post:
https://stackoverflow.com/a/12567238
Pavel Kudrys
Ranorex explorer at Descartes Systems

Please add these details to your questions:
  • Ranorex Snapshot. Learn how to create one >here<
  • Ranorex xPath of problematic element(s)
  • Ranorex version
  • OS version
  • HW configuration

Rakesh123
Posts: 70
Joined: Thu Oct 28, 2010 2:18 pm

Re: Upgrade Ranorex 8.1 to Ranorex 9.5.1

Post by Rakesh123 » Mon Nov 29, 2021 7:48 am

Hi,

Thanks a lot.It worked

Thanks,
Rakesh