Need Help: Jenkins Build is failing at test run phase

Ask general questions here.
Santhosh
Posts: 10
Joined: Fri Aug 10, 2018 5:51 am

Need Help: Jenkins Build is failing at test run phase

Post by Santhosh » Fri Aug 10, 2018 6:16 am

Hi,

The error Jenkins is throwing is, in general the MS build is unable to find ranorex dll in bin folder , below is 1 example, and many could be found in the attached log.
C:\Windows\Microsoft.NET\Framework\v3.5\Microsoft.Common.targets : warning MSB3245: Could not resolve this reference. Could not locate the assembly "Ranorex.Plugin.Office". Check to make sure the assembly exists on disk. If this reference is required by your code, you may get compilation errors.
For SearchPath "{AssemblyFolders}".
Considered "C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\v3.5\Ranorex.Plugin.Office.exe", but it didn't exist.
Considered "C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\v3.5\Ranorex.Plugin.Office.dll", but it didn't exist.
For SearchPath "{GAC}".
Considered "Ranorex.Plugin.Office", which was not found in the GAC.
For SearchPath "{RawFileName}".
Considered treating "Ranorex.Plugin.Office" as a file name, but it didn't exist.
For SearchPath "bin\Debug\".
Considered "bin\Debug\Ranorex.Plugin.Office.exe", but it didn't exist.
Considered "bin\Debug\Ranorex.Plugin.Office.dll", but it didn't exist.

User avatar
RobinHood42
Posts: 239
Joined: Fri Jan 09, 2015 3:24 pm

Re: Need Help: Jenkins Build is failing at test run phase

Post by RobinHood42 » Mon Aug 13, 2018 8:44 am

Hi Santhosh,

Please make sure the needed Ranorex DLLs are available. I would recommend going through the following article: https://www.ranorex.com/blog/integratin ... n-process/

Cheers,
Robin