Build error after upgrade to 10.2.1

Bug reports.
sux
Posts: 7
Joined: Fri Jan 07, 2022 1:14 pm

Build error after upgrade to 10.2.1

Post by sux » Wed Jun 01, 2022 12:55 pm

Hi!

We just upgraded to Ranorex 10.2.1 (from 10.1.5). After the upgrade we have the following build warnings and errors:
  • Der Primrverweis "Ranorex.Bootstrapper" konnte nicht aufgelst werden, da er eine indirekte Abhngigkeit von der .NET Framework-Assembly "System.ValueTuple, Version=4.0.3.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51" aufweist, die eine hhere Version 4.0.3.0 als die Version 4.0.2.0 im aktuellen Zielframework aufweist. (MSB3258)
  • Der Name 'TestingBootstrapper' ist im aktuellen Kontext nicht vorhanden. (CS0103) - C:\Ranorex\FrontendTests\obj\Debug\__RxPrograms.g.cs:44,13
We already tried the following.
  1. Uninstalling all of Ranorex
  2. Uninstalling Prerequisites
  3. Installing Prerequisites
  4. Installing Ranorex
  5. Installing Visual Studio (including .NET Framework 4.6 - 4.8 SDKs)
  6. Rebooting
But the issue remains. Btw if we build the visual studio solution (with Visual Studio 2022) there is no build error.

We also tried creating a new empty project with the new Ranorex version. But this doesn't compile either.

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

Re: Build error after upgrade to 10.2.1

Post by odklizec » Wed Jun 01, 2022 1:00 pm

Hi,

I believe you forgot to install MSBuild tools, as instructed on Ranorex download page?
BuildTools.png
These build tools must be installed manually.
You do not have the required permissions to view the files attached to this post.
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

sux
Posts: 7
Joined: Fri Jan 07, 2022 1:14 pm

Re: Build error after upgrade to 10.2.1

Post by sux » Wed Jun 01, 2022 1:11 pm

I didn't download it via the download page and the README in the zip doesn't mention this additional prerequisite.

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

Re: Build error after upgrade to 10.2.1

Post by odklizec » Wed Jun 01, 2022 1:27 pm

I see. Well, that' very unfortunately they didn't mention it there.
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