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 fhrt 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
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