Page 1 of 1

Ranorex.Controls causes Warnings

Posted: Mon Aug 01, 2016 12:59 pm
by Geci
Hello,

with Ranorex 6.0.0 and 6.0.1 we got following Warning:
The primary reference "Ranorex.Controls" could not be resolved because it has an indirect dependency on the framework assembly "System.Runtime, Version=2.6.10.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" which could not be resolved in the currently targeted framework. ".NETFramework,Version=v4.0". To resolve this problem, either remove the reference "Ranorex.Controls" or retarget your application to a framework version which contains "System.Runtime, Version=2.6.10.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a".
This warning causes build problems in out solution. Is this "bug" known?

Best regards
GeCi

Re: Ranorex.Controls causes Warnings

Posted: Tue Aug 02, 2016 3:22 pm
by Support Team
Hello Geci,

There seems to be a general issue with the installation of the .NET framework. I would suggest doing a new installation of the .NET framework and Ranorex Studio. Please follow the below-mentioned steps.
  • Completely uninstall Ranorex and all installations of the .NET framework
  • Reboot the machine
  • Install the .NET framework, [1][2]
  • Reboot the machine
  • Install all Microsoft Windows updates
  • Install Ranorex 6.0.1 again
[1]: http://www.microsoft.com/download/en/de ... n&id=17718
[2]: https://www.microsoft.com/en-US/downloa ... x?id=30653

Please do let me know if this resolves the issue.

Sincerely,
Johannes

Re: Ranorex.Controls causes Warnings

Posted: Tue Aug 02, 2016 7:37 pm
by Geci
This is not easy because the problem is on several machines (pc's and buildserver). The problem is also on pc's without ranorex installation.

Re: Ranorex.Controls causes Warnings

Posted: Wed Aug 03, 2016 6:54 am
by Support Team
Hi Geci,

May I ask why you referenced Ranorex.Controls.dll to your project? Generally, this shouldn't be necessary and is not recommended.

Sincerely,
Johannes

Re: Ranorex.Controls causes Warnings

Posted: Sun Aug 07, 2016 9:49 am
by Geci
You are right. It is not necessary to reference this dll. We have the Ranorex project in our solution. If i open the Ranorex project with Ranorex, Ranorex add dlls automatic (for example all Plugin dlls). Therefore i added all Ranorex dlls to the project.

Sincerely
Geci

Re: Ranorex.Controls causes Warnings

Posted: Mon Aug 08, 2016 10:11 am
by Support Team
Hi Geci,

Thank you for your response.

In this case, it should work for you if you remove the reference to this dll. If there are any other issues, please don't hesitate to ask.

Sincerely,
Johannes