Ranorex Console window does not start

Ask general questions here.
ncardina
Posts: 3
Joined: Thu Oct 20, 2022 9:21 am

Ranorex Console window does not start

Post by ncardina » Thu Oct 20, 2022 4:24 pm

One of my colleagues can't get Ranorex to run anymore for existing solutions. Whenever she presses the "Run" button, it builds (successfully) and then just ends. The console window is not displaying. When she creates a new solution, everything works.

Can someone help here?

IvanF
Posts: 151
Joined: Thu Aug 11, 2022 8:55 pm

Re: Ranorex Console window does not start

Post by IvanF » Thu Oct 20, 2022 4:37 pm

Hi, which Ranorex version is your colleague using? Was there a recent upgrade/change? Does "Output" or "Errors" tabs at the bottom or Reports folder have any additional information?

ncardina
Posts: 3
Joined: Thu Oct 20, 2022 9:21 am

Re: Ranorex Console window does not start

Post by ncardina » Thu Oct 27, 2022 10:45 am

Hi, my colleague is using version 10.1.6. There were no recent upgrades or changes. When she hits the RUN button the following is displayed and that's it. No console window

o Build: Build started.
Build finished successfully. (00:00:02.2021787)
o Packages: "C:\Workdir\MyApps\Ranorex\Bin\AddIns\Misc\PackageManagement\NuGet.exe" restore "Aanstellen_ViaVacature.sln"
MSBuild auto-detection: using msbuild version '4.0' from 'C:\Windows\Microsoft.NET\Framework64\v4.0.30319'.
Nothing to do. None of the projects in this solution specify any packages for NuGet to restore.

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

Re: Ranorex Console window does not start

Post by odklizec » Thu Oct 27, 2022 12:00 pm

Hi,

Are you sure the project in question is "Console" type app? Just examine the project properties >> Output type.
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

ncardina
Posts: 3
Joined: Thu Oct 20, 2022 9:21 am

Re: Ranorex Console window does not start

Post by ncardina » Thu Oct 27, 2022 1:41 pm

Hi, output type is correct.

When we execute following executable in cmd it gives an error
Executable: C:\Workdir\MyApps\Solutions\Aanstellen_ViaVacature\Aanstellen_ViaVacature\bin\Debug\Aanstellen_ViaVacature.exe

Return value : System.IO.FileNotFoundException: Kan bestand of assembly Ranorex.Bootstrapper, Version=10.1.6.0, Culture=neutral, PublicKeyToken=b798506b574ebc9a of een van de afhankelijkheden hiervan niet laden. Het systeem kan het opgegeven bestand niet vinden.
Bestandsnaam: Ranorex.Bootstrapper, Version=10.1.6.0, Culture=neutral, PublicKeyToken=b798506b574ebc9a
bij __RxMain.__RxProgram.RanorexInit()
bij __RxMain.__RxProgram.Main(String[] args) in c:\Workdir\MyApps\Ranorex\Solutions\Aanstellen_ViaVacature\Aanstellen_ViaVacature\obj\x86\Debug\__RxPrograms.g.cs:regel 30