1

My project in Ranorex Studio (v8.3.1) is using .NET Framework 4.5.2 and C# 5.0. I want to leverage the features of newer C# versions e.g. String Interpolation. So I want to upgrade my Ranorex Project to at least C# 6.0.

The problem is that when I go to Tools > Project Upgrade, I only see that .NET 4.6 and C# 5.0 are available in the dropdown for the upgrade.

What do I have to do get the latest/newer version of C# in Ranorex Studio so that I can upgrade my project within the Ranorex?

1

Ranorex isn't compatible with C# 6.0 or 7.0, as noted in their forums.

One user mentioned that "there's nothing in C# 6/7 that you really have to have for writing Ranorex tests. There are lots of nice things, but they aren't necessary", and so OP had to re-write the code to be compatible with 5.0 or below.

Hope this helps - although I appreciate it's probably not what you wanted to hear.

  • 1
    Yes, I also saw that. I had an impression that their new release supports the newer versions of C#. Somehow another QA in the team has C# 6.0 in Ranorex but we could not figure out to update mine. I do agree that it is not necessary and can be worked around. Its just the fact that using different versions of C# in the same project by different team members create compilation errors for others. – Baljeet Singh Dec 11 '18 at 18:55

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.