Compile Ranorex 6.0 with C#6.0 and .Net 4.6

Class library usage, coding and language questions.
Geci
Posts: 15
Joined: Fri Sep 06, 2013 1:16 pm

Compile Ranorex 6.0 with C#6.0 and .Net 4.6

Post by Geci » Mon Jun 13, 2016 1:52 pm

Hello,

is it possible to compile the solution in the new Ranorex 6.0 studio with C#6.0 and .Net 4.6?
We have the Ranorex solution embedded in our solution and we want use C#6.0. and .Net 4.6.

Best regared
GeCi

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

Re: Compile Ranorex 6.0 with C#6.0 and .Net 4.6

Post by Support Team » Thu Jun 16, 2016 12:51 pm

Hello GeCi,

Unfortunately, C#6.0 is currently not supported in Ranorex, but you can try adding the following line into the first PropertyGroup in the csproj file:
<CscToolPath>$(MSBuildProgramFiles32)\MSBuild\14.0\Bin</CscToolPath>
This is a limitation of the SharpDevelop version Ranorex is based on.
There is also a thread in the SharpDevelop forum about this: http://community.sharpdevelop.net/forum ... 56998.aspx

Regards,
Bernhard
.
Image