Ranorex Neoload Integration

Ask general questions here.
pavithra
Posts: 1
Joined: Sat Dec 17, 2016 8:11 am

Ranorex Neoload Integration

Post by pavithra » Sat Dec 17, 2016 8:29 am

I am facing issue while replaying "Could not load file or assembly 'System.Threading.Tasks, Version=2.6.9.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)"

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

Re: Ranorex Neoload Integration

Post by odklizec » Tue Dec 20, 2016 3:13 pm

Hi,

There is an old version (correct one is 2.6.10.0) used in app.config, mentioned in NeoLoad integration blog post. Use the below app.config edit, which should fix this error ;)

Code: Select all

    <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1" xmlns:bcl="urn:schemas-microsoft-com:bcl">
     <dependentAssembly bcl:name="System.Runtime">
     <assemblyIdentity name="System.Runtime" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
     <bindingRedirect oldVersion="0.0.0.0-2.6.10.0" newVersion="2.6.10.0" />
     </dependentAssembly>
     <dependentAssembly>
     <assemblyIdentity name="System.Threading.Tasks" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
     <bindingRedirect oldVersion="0.0.0.0-2.6.10.0" newVersion="2.6.10.0" />
     </dependentAssembly>
     <dependentAssembly>
     <assemblyIdentity name="System.Net.Http" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
     <bindingRedirect oldVersion="0.0.0.0-2.2.28.0" newVersion="2.2.28.0" />
     </dependentAssembly>
    </assemblyBinding>
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