Support for C#6.0

Ask general questions here.
sergii
Posts: 30
Joined: Fri Jun 07, 2013 11:07 pm

Support for C#6.0

Post by sergii » Mon Jan 23, 2017 10:49 pm

I'm trying to use interpolation of strings in the following code:

Code: Select all

int age = 5;
string greeting = $"You are {age} years old";
Not sure if the current version of SharpDevelop allows us to compile project with 4.6+ framework and/or C# 6.0+
At least in my Project > Properties > Compiling I see only 4.5.2 and 5.0 as the maximum I can go on Ranorex Studio 6.1.0

Based on the SharpDevelop website http://www.icsharpcode.net/OpenSource/SD/Changes.aspx they
don't seems to have any strict dependence on framework version.

Does it mean that I can somehow install newer .net framework on my machine and point Ranorex Studio to the location of framework?

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

Re: Support for C#6.0

Post by odklizec » Tue Jan 24, 2017 8:29 am

Hi,

I'm afraid, it's not currently possible. See this SharpDevelop forum post:
http://community.sharpdevelop.net/forum ... aspx#56998
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

csr
Posts: 9
Joined: Wed May 10, 2017 10:25 am

Re: Support for C#6.0

Post by csr » Thu May 18, 2017 9:10 am

So, since there seems to be no further development going on for SharpDevelop (the latest release is older than one year and the post you linked mentions that SharpDevelop is dead), does this mean there won't be support for .NET 6 and higher in Ranorex?

User avatar
Support Team
Site Admin
Site Admin
Posts: 11709
Joined: Fri Jul 07, 2006 4:30 pm
Location: Graz, Austria

Re: Support for C#6.0

Post by Support Team » Fri May 19, 2017 9:54 am

Hello csr,

There is already a feature request available for this topic on our UserVoice. If you want to see this feature in Ranorex I would recommend voting for this feature.

The title of this UserVoice entry is "Support for C#6 and 7 language version".

Best regards,
Bernhard
.
Image