Page 1 of 1

Ranorex MSBuild Target Issue In Studio

Posted: Wed Mar 13, 2013 7:15 pm
by bradj
I'm using Ranorex Studio 4.0.1 and am having an issue. I'm trying to modify my project files to support automated builds by my IT team. I need to be able to compile the source code on a machine that doesn't have Ranorex installed. I have everything working EXCEPT there is a problem with the Ranorex msbuild extension. I go in manually to the csproj file and modify the Import Condition to change the location of where it looks for the Ranorex.MSBuild.Targets file. It works perfectly and I am able to build using MSBuild.

However, when I reopen the project in Ranorex Studio it re-adds the Ranorex msbuild extension. This causes the project to fail to compile because of the circular reference to two Ranorex extensions.

What can be done to prevent Studio from re-adding the extension if it is already present (but having a different import condition)?

Re: Ranorex MSBuild Target Issue In Studio

Posted: Fri Mar 15, 2013 1:58 pm
by Support Team
Hello,

Please copy the installed targets to the other machines MSBuildExtensionsPath.
Please take a look at this article on MSDN.

Regards,
Markus (T)