Ranorex.Bootstrapper not found Exception

Ask general questions here.
rka
Posts: 35
Joined: Fri Jul 03, 2015 7:54 am

Ranorex.Bootstrapper not found Exception

Post by rka » Wed Mar 01, 2023 8:46 am

Hello Community,

I created a project and configured it to copy the runtime libs to the output directory. I also added the license information.
When I browse to the output folder, I can see my project executable, the Ranorex.Core.Resolver.dll, some other files and the Runtime directory including over 100 files and some folders. The folders contain 272 files and 14 folders.

When I copy the output folder to my test machine and start the test, I get the following message:

Code: Select all

System.IO.FileNotFoundException: Die Datei oder Assembly "Ranorex.Bootstrapper, Version=10.5.3.0, Culture=neutral, PublicKeyToken=b798506b574ebc9a" oder eine Abh„ngigkeit davon wurde nicht gefunden. Das System kann die angegebene Datei nicht finden.
Dateiname: "Ranorex.Bootstrapper, Version=10.5.3.0, Culture=neutral, PublicKeyToken=b798506b574ebc9a"
   bei __RxMain.__RxProgram.RanorexInit()
   bei __RxMain.__RxProgram.Main(String[] args)

WRN: Protokollierung der Assemblybindung ist AUS.
Sie k”nnen die Protokollierung der Assemblybindungsfehler aktivieren, indem Sie den Registrierungswert [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) auf 1 festlegen.
Hinweis: Die Protokollierung der Assemblybindungsfehler fhrt zu einer gewissen Leistungseinbuáe.
Sie k”nnen dieses Feature deaktivieren, indem Sie den Registrierungswert [HKLM\Software\Microsoft\Fusion!EnableLog] entfernen.


Test executable crashed with unhandled exception.
Please ensure all required prerequisites are installed:
- .Net Framework 4.5
- VC++ Redistributable (2017)

For more information visit: https://www.ranorex.com/help/v10.5/xcopy-deployment
So the Ranorex.Bootstrapper.dll is not found. But it does exist inside the Runtime directory! The version of the file is 10.5.3.0 (with the product version 10.5.3+git.43e841eb).

The project has been compiled on a machine with Ranorex 10.5.3. The test machine has an older version of Ranorex (10.1.3). But I guess this shouldn't be a problem?

Any ideas?

Thanks in advance,
Rafael

User avatar
doke
Posts: 112
Joined: Fri Mar 29, 2019 2:33 pm

Re: Ranorex.Bootstrapper not found Exception

Post by doke » Wed Mar 01, 2023 9:02 am

I would try installation of 10.5.3 on client machine...

rka
Posts: 35
Joined: Fri Jul 03, 2015 7:54 am

Re: Ranorex.Bootstrapper not found Exception

Post by rka » Wed Mar 01, 2023 2:26 pm

Deinstalling Ranorex 10.1.3 did help.

But why does the test executable use the wrong lib in the first place? Shouldn't it prioritize looking for the lib in the Runtime folder first?

uriisak
Posts: 10
Joined: Sun Apr 10, 2022 1:42 pm

Re: Ranorex.Bootstrapper not found Exception

Post by uriisak » Wed Sep 06, 2023 2:09 pm

I have the same problem ! How u resolved the issue ??