Hi,
I updated from 7.1.0 to 7.1.1
Build and run project:
Unhandled Exception: System.IO.FileNotFoundException: Could not load file or assembly 'Ranorex.Core, Version=7.1.0.0, Culture=neutral, PublicKeyToken=b798506b574ebc9a' or one of its dependencies. The system cannot find the file specified.
at R_Test.Program.Main(String[] args)
What could be the problem here?
Problem with Ranorex 7.1.1
Re: Problem with Ranorex 7.1.1
This problem is solved. I don't know what happend. Just reboot PC and build few times.
-
- Posts: 6
- Joined: Fri Jul 07, 2017 8:09 pm
Re: Problem with Ranorex 7.1.1
This is still a problem for me, despite a reboot.
Re: Problem with Ranorex 7.1.1
It sounds like the uninstall did not complete properly and remove the old library references since it is still trying to use 7.1.0 libraries. I would uninstall Ranorex, restart my machine, install Ranorex 7.1.1, do a final machine restart for safe measures, and try again.
It is also possible the 7.1.0 libraries are still in your GAC. Check out your GAC and ensure only 7.1.1 libraries exist. You can manually remove old libraries by following this guide.
It is also possible the 7.1.0 libraries are still in your GAC. Check out your GAC and ensure only 7.1.1 libraries exist. You can manually remove old libraries by following this guide.
Re: Problem with Ranorex 7.1.1
Using gacutil did not solve the problem
When I uninstall Ranorex 7.1, I have no entries for Ranorex.
After Installing Ranorex 7.1.1, I have the following entires:
Ranorex.Common.Net35, Version=2.1.0.0, Culture=neutral, PublicKeyToken=b798506b574ebc9a, processorArchitecture=MSIL
Ranorex.Core.Injection, Version=7.1.1.0, Culture=neutral, PublicKeyToken=b798506b574ebc9a, processorArchitecture=MSIL
Ranorex.Instrumentation.RawText, Version=7.1.1.0, Culture=neutral, PublicKeyToken=b798506b574ebc9a, processorArchitecture=MSIL
Ranorex.Libs, Version=7.1.1.0, Culture=neutral, PublicKeyToken=b798506b574ebc9a, processorArchitecture=MSIL
Ranorex.Libs.Base, Version=7.1.1.0, Culture=neutral, PublicKeyToken=b798506b574ebc9a, processorArchitecture=MSIL
Ranorex.Libs.WinApi, Version=7.1.1.0, Culture=neutral, PublicKeyToken=b798506b574ebc9a, processorArchitecture=MSIL
Ranorex.Libs.WinForms, Version=7.1.1.0, Culture=neutral, PublicKeyToken=b798506b574ebc9a, processorArchitecture=MSIL
Ranorex.Plugin.WinFormsProxy, Version=7.1.1.0, Culture=neutral, PublicKeyToken=b798506b574ebc9a, processorArchitecture=MSIL
Ranorex.Plugin.WpfProxy, Version=7.1.1.0, Culture=neutral, PublicKeyToken=b798506b574ebc9a, processorArchitecture=MSIL
When I uninstall Ranorex 7.1, I have no entries for Ranorex.
After Installing Ranorex 7.1.1, I have the following entires:
Ranorex.Common.Net35, Version=2.1.0.0, Culture=neutral, PublicKeyToken=b798506b574ebc9a, processorArchitecture=MSIL
Ranorex.Core.Injection, Version=7.1.1.0, Culture=neutral, PublicKeyToken=b798506b574ebc9a, processorArchitecture=MSIL
Ranorex.Instrumentation.RawText, Version=7.1.1.0, Culture=neutral, PublicKeyToken=b798506b574ebc9a, processorArchitecture=MSIL
Ranorex.Libs, Version=7.1.1.0, Culture=neutral, PublicKeyToken=b798506b574ebc9a, processorArchitecture=MSIL
Ranorex.Libs.Base, Version=7.1.1.0, Culture=neutral, PublicKeyToken=b798506b574ebc9a, processorArchitecture=MSIL
Ranorex.Libs.WinApi, Version=7.1.1.0, Culture=neutral, PublicKeyToken=b798506b574ebc9a, processorArchitecture=MSIL
Ranorex.Libs.WinForms, Version=7.1.1.0, Culture=neutral, PublicKeyToken=b798506b574ebc9a, processorArchitecture=MSIL
Ranorex.Plugin.WinFormsProxy, Version=7.1.1.0, Culture=neutral, PublicKeyToken=b798506b574ebc9a, processorArchitecture=MSIL
Ranorex.Plugin.WpfProxy, Version=7.1.1.0, Culture=neutral, PublicKeyToken=b798506b574ebc9a, processorArchitecture=MSIL
-
- Posts: 9
- Joined: Tue Jan 31, 2017 6:16 pm
Re: Problem with Ranorex 7.1.1
To confirm after going from 7.1.0 to 7.1.1 I experienced this issue too:
Cannot intercept exception. Debugged program can not be continued and properties can not be evaluated.
System.IO.FileLoadException: Could not load file or assembly 'Ranorex.Core, Version=7.1.0.0, Culture=neutral, PublicKeyToken=b798506b574ebc9a' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
Reboot no joy, will uninstall and reinstall - Just here for reference to say someone else got this.
EDIT: Not sure what resolved it, but i reinstalled Ranorex, then performed a "rebuild Solution" and this started working, strange ive never had to do this before, but every day is a learning experience (And i have a lot to learn!)
Cannot intercept exception. Debugged program can not be continued and properties can not be evaluated.
System.IO.FileLoadException: Could not load file or assembly 'Ranorex.Core, Version=7.1.0.0, Culture=neutral, PublicKeyToken=b798506b574ebc9a' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
Reboot no joy, will uninstall and reinstall - Just here for reference to say someone else got this.
EDIT: Not sure what resolved it, but i reinstalled Ranorex, then performed a "rebuild Solution" and this started working, strange ive never had to do this before, but every day is a learning experience (And i have a lot to learn!)
Last edited by LittlestHobo on Thu Aug 31, 2017 3:29 pm, edited 1 time in total.
Re: Problem with Ranorex 7.1.1
You need to check all of your solution files for a reference to "Ranorex.Core, Version=7.1.0.0, Culture=neutral, PublicKeyToken=b798506b574ebc9a". This will usually be in your *.csproj (or *.vbproj?, I don't know, I don't use VB.NET) files. I had to do the same thing when I upgraded because the upgrade process did NOT update that one value correctly. Once I fixed it to point to 7.1.1.0, it stopped throwing the error.
The problem is that the project file still points to the old (7.1.0) Core DLL, which isn't on the system anymore. You just need to point at the new file.
The problem is that the project file still points to the old (7.1.0) Core DLL, which isn't on the system anymore. You just need to point at the new file.
Shortcuts usually aren't...
-
- Posts: 6
- Joined: Fri Jul 07, 2017 8:09 pm
Re: Problem with Ranorex 7.1.1
Thanks krstcs, and the folks above. You really homed in on the root of the problem, and once I knew that, the rest was cake.
I appreciate the words of wisdom.
I appreciate the words of wisdom.
Re: Problem with Ranorex 7.1.1
With the latest version 7.1.2 there is no problem anymore. No manual changes are needed.