Unable to select C# 6.0 compiler

Ask general questions here.
Saf2
Posts: 6
Joined: Thu Oct 01, 2020 9:34 am
Location: Tampere, Finland

Unable to select C# 6.0 compiler

Post by Saf2 » Thu Oct 01, 2020 9:37 am

I installed the latest VS build tools but I'm still unable to select the C# 6.0 version of the compiler in Ranorex. The highest it goes ic C# 5.0 What to do?
Attachments
ranorex.png
ranorex.png (18.37 KiB) Viewed 284 times

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

Re: Unable to select C# 6.0 compiler

Post by odklizec » Thu Oct 01, 2020 9:21 pm

Hi,

What version of Ranorex do you use? C# 6 and 7 is supported from Ranorex 9.0 (and higher). You are out of luck with anything older.
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

Saf2
Posts: 6
Joined: Thu Oct 01, 2020 9:34 am
Location: Tampere, Finland

Re: Unable to select C# 6.0 compiler

Post by Saf2 » Fri Oct 02, 2020 9:02 am

I'm using Ranorex 9.1.

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

Re: Unable to select C# 6.0 compiler

Post by odklizec » Fri Oct 02, 2020 9:09 am

Hi,

In this case, there must be something missing on your machine? Are you sure there are installed most recent VS build tools, as suggested in this post?
https://ranorex.com/forum/how-to-update ... tml#p54477
I would also try to install .net SDK.
And finally, I would recommend to install most recent Ranorex version. You may never know? ;) Ranorex 9.1 is already obsolete and no longer supported.

BTW, according below post, VS 2019 build tools does not have MSBuild at expected location...
https://stackoverflow.com/questions/527 ... 8_52729945
So you may need to install older version of MS build tools (try VS 2015 build tools).
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

Saf2
Posts: 6
Joined: Thu Oct 01, 2020 9:34 am
Location: Tampere, Finland

Re: Unable to select C# 6.0 compiler

Post by Saf2 » Fri Oct 02, 2020 12:03 pm

odklizec wrote:
Fri Oct 02, 2020 9:09 am
BTW, according below post, VS 2019 build tools does not have MSBuild at expected location...
https://stackoverflow.com/questions/527 ... 8_52729945
So you may need to install older version of MS build tools (try VS 2015 build tools).
That's brilliant. It worked. Thank you.