Error message related to CopyRxBinFolderToOutput

Bug reports.
Posts: 1
Joined: Tue Dec 19, 2017 10:46 am

Error message related to CopyRxBinFolderToOutput

Post by rafal.sibilski » Mon Jan 15, 2018 12:02 pm

Hi Support Team,

I have upgraded older solution to Ranorex 8.0.0.
I get error message during building that is not occurring on older version:
The "CopyRxBinFolderToOutput" task failed unexpectedly.
System.ArgumentException: The given path 'relativeDirectoryPath' is not valid.
at Ranorex.Common.Extensions.PathStringExtensions.CheckPathString(String s, String variableName)
at Ranorex.Common.Types.RelativeDirPath..ctor(CIString relativeDirectoryPath)
at Ranorex.Common.Types.RelativeDirPath.FromString(String dirPath)
at Ranorex.MSBuildTasks.Util.ShouldCopyRuntime(String projectDirAbsolute, String outputDirectoryRelative)
at Ranorex.MSBuildTasks.CopyRxBinFolderToOutput.Execute()
at Microsoft.Build.BackEnd.TaskExecutionHost.Microsoft.Build.BackEnd.ITaskExecutionHost.Execute()
at Microsoft.Build.BackEnd.TaskBuilder.<ExecuteInstantiatedTask>d__26.MoveNext() (MSB4018) - C:\Program Files (x86)\MSBuild\Ranorex8.0\Ranorex.MSBuild.Targets:106,9

Could you give me any idea where should i look for solution :?:


User avatar
Support Team
Site Admin
Site Admin
Posts: 12169
Joined: Fri Jul 07, 2006 4:30 pm
Location: Houston, Texas, USA

Re: Error message related to CopyRxBinFolderToOutput

Post by Support Team » Tue Jan 16, 2018 4:07 pm

Hello Rafal,

Thank you for your post.

Unfortunately, there exists a bug in Ranorex 8 which leads to this error message when using an absolute path as output directory.
However, our developers already resolved this bug and so it will be fixed with Ranorex 8.0.1.

Thank you for your patience.