Page 1 of 1
Unable to select C# 6.0 compiler
Posted: Thu Oct 01, 2020 9:37 am
by Saf2
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?
Re: Unable to select C# 6.0 compiler
Posted: Thu Oct 01, 2020 9:21 pm
by odklizec
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.
Re: Unable to select C# 6.0 compiler
Posted: Fri Oct 02, 2020 9:02 am
by Saf2
I'm using Ranorex 9.1.
Re: Unable to select C# 6.0 compiler
Posted: Fri Oct 02, 2020 9:09 am
by odklizec
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).
Re: Unable to select C# 6.0 compiler
Posted: Fri Oct 02, 2020 12:03 pm
by Saf2
That's brilliant. It worked. Thank you.