Compile Error

Ask general questions here.
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.

Somasekhar Pala.

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

Re: Compile Error

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


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

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)

Posts: 15
Joined: Mon Oct 08, 2018 2:15 pm

Re: Compile Error

Post by haider » Tue Oct 29, 2019 4:44 pm


Im' facing the same problem secribed above, odklizec mentionned that we have to install .Net 4.6.2.
My question is with the last microsoft update, the .Net 4.7 is installed by default and couldn't be remove.
As you know guys you can't install .Net 4.6.2 if you've .Net 4.7 allready installed.

So how to comme throught this issue ?

Thank you in advance.

Posts: 15
Joined: Mon Oct 08, 2018 2:15 pm

Re: Compile Error

Post by haider » Tue Oct 29, 2019 6:11 pm

I Fixed it by installing Ranorex 9.2.