We're in the process of upgrading from Ranorex 8.3 to 9.4.1 and this behavior did not occur before the upgrade.
Repro Steps
1. Create a new blank solution
2. Open the project folder in explorer
3. Delete the bin folder
4. Clean Solution or Project
Result
Code: Select all
Failed to clean generated shortcuts. Could not find a part of the path '.\Ranorex\RanorexStudio Projects\MyTest1\MyTest1\bin\Debug'.
Failed to clean report metadata files. Could not find a part of the path '.\Ranorex\RanorexStudio Projects\MyTest1\MyTest1\bin\Debug'.
Failed to clean integration metadata files. Could not find a part of the path '.\Ranorex\RanorexStudio Projects\MyTest1\MyTest1\bin\Debug'.
Code: Select all
<Target Name="CleanGeneratedFiles" AfterTargets="Clean" Condition="Exists($(OutDir))">
<CleanGeneratedFiles OutputDirectory="$(OutDir)"
Project="$(MSBuildProjectFullPath)"
Platform="$(Platform)"
IntermediateOutputPath="$(IntermediateOutputPath)"/>
</Target>