Compile Error

Ask general questions here.
pala
Posts: 3
Joined: Mon Dec 31, 2018 6:10 pm

Compile Error

Post by pala » Fri Jun 07, 2019 9:59 am

Hi Team,

I recently installed Ranorex latest version 9.1.0. previously I was working on Ranorex 9.0.1 .
After updating the version,my existing old solution doesn't compile.It throws an error while building the solution.
My Error is like this :

Compile Error:Metadata file 'D:\Study stuff\Ranorex Projects\AdvancedFeatures\AdvancedFeatures\bin\Debug\AdvancedFeatures.exe' could not be found .

Could you please resolve this Error.

Regards,
Somasekhar Pala.

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

Re: Compile Error

Post by odklizec » Fri Jun 07, 2019 10:03 am

Hi,

Are you sure you have installed .Net 4.6.2? Ranorex 9.1.0 requires, at very least, .Net 4.6.2. And there were some discussions regarding similar build errors, caused by old .Net or incorrectly installed/corrupted 4.6.2. So try to install/reinstall .Net.
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

TeamRipper
Posts: 1
Joined: Sat Jun 08, 2019 3:24 am

Re: Compile Error

Post by TeamRipper » Sat Jun 08, 2019 3:29 am

As mentioned above, make sure .NET 4.6.2 DEV version is installed. Higher version (4.8) does not appear to work properly from my experience.


Microsoft Windows Installer 3.1 or higher
Microsoft Visual C++ 2017 x86
Microsoft Visual C++ 2017 x64 (required for 64 bit Windows versions only)
Microsoft .NET Framework 4.6.2 or higher
Internet Explorer 11 or higher (with the latest patches and updates)