Support for C#6 and 7 language version
It would be nice to have the ablity to use the same language features as in visual studio. Without having to worry about version difference.

Dear Ranorex User,
we really appreciate your feedback.
Ranorex supports compiling C# 7.0 and building using MsBuild 15 since the release of 9.0. You will find further information about the latest Ranorex 9.0.1 version in our release notes:
https://www.ranorex.com/release-notes/
Best regards,
The Ranorex Product Management Team
7 comments
-
Florian Mautendorfer commented
Newest Ranorex version (9) has c# 7 afaik
-
Tim Powell commented
I'm trying to use auto-property initializers to get rid of my code smell errors flagged by SonarQube. This would help me keep the code clean.
-
J-F Lemay commented
In my knowledge if you use the latest msbuild(vs2017) ,to compile your Ranorex solution , Ranorex is able to use and recognize the c# 6 and 7 expression. I have a lot of string interpolation(a c# 6 feature) in my Rx solution and it works fine as long that I make sure to use the latest msbuild.
-
Jarrett commented
Also need support for .NET Standard and .NET Core. Seems like the SharpDevelop community has stopped progressing after the release of Roslyn and VS Code.
-
Ivica Mamic commented
With Ranorex 8, you should really go forward to C# 6.0 and 7.0, if you don't want to stay behind...
-
Anonymous commented
I want to use several C#6 features in my Ranorex project. Please support this ASAP.
-
Kelly commented
Ranorex Studio is built on SharpDevelop 4, which has a max .NET version of 4.5. Ranorex's libraries must maintain compatibility with SD4 in order for Studio to continue to work, so they compile with .NET 4.5.
You are free to use a higher level of .NET in your actual test, but Ranorex Studio may not be able to parse the new language features, so code completion and error marking will not work with .NET versions higher than 4.5