MS Build Issue if we don't have installed Ranorex Studio in a Agent Server

Ranorex Studio, Spy, Recorder, and Driver.
jlo
Posts: 2
Joined: Mon Mar 14, 2022 12:17 pm

MS Build Issue if we don't have installed Ranorex Studio in a Agent Server

Post by jlo » Mon Mar 14, 2022 12:35 pm

Hi Guys,

We are experinced a rare situation here, we starting having some issues with the agent server at the moment to compile in our CD/CI process.
We are having an error with the build and as a workaround we installed Ranorex Studio in this agent server, because without studio the build process is not able to find the dll's.

This is one of the issues that we are having at the moment to execute a job in our CD/CI process:
Referencia principal "Ranorex.Bootstrapper".
15:25:11
6>C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\MSBuild\Current\Bin\Microsoft.Common.CurrentVersion.targets(2203,5): warning MSB3245: No se pudo resolver esta referencia. No se encuentra el ensamblado "Ranorex.Bootstrapper". Compruebe si el ensamblado existe en el disco. Si el c¢digo necesita esta referencia, podr¡an producirse errores de compilaci¢n. [D:\TeamCity\Agents\RX-20\work\7c4fb4a0c119bc07\mecalux_tec_ranorex_tests\Mecalux.Tec.UI.Test.Objects\Mecalux.Tec.UI.Test.Objects.csproj]
15:25:11
Para SearchPath "{TargetFrameworkDirectory}".
15:25:11
Se consider¢ "C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.8\Ranorex.Bootstrapper.winmd", pero no exist¡a.
15:25:11
Se consider¢ "C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.8\Ranorex.Bootstrapper.dll", pero no exist¡a.
15:25:11
Se consider¢ "C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.8\Ranorex.Bootstrapper.exe", pero no exist¡a.
15:25:11
Se consider¢ "C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.8\Facades\Ranorex.Bootstrapper.winmd", pero no exist¡a.
15:25:11
Se consider¢ "C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.8\Facades\Ranorex.Bootstrapper.dll", pero no exist¡a.

Is there anyone having the same issue or any experience related to this incident.
Btw we considerer the option to check all the dlls related to Ranorex as a "Local Copy" in true, but this is not scalable because most probably that soon we will need to update Studio.