I have taken a copy of a previous project and modified it for a new project. So I have deleted .xaml files and folders which are not relevant. Meantime Studio got updated to the latest as well (2024.10.1). Now I can not run the project from the main file since it gives an error saying that ‘Could not find a part of the path XXX’. This is a path of a file which I have deleted and is not required, also it is not invoked anywhere. I just created a dummy .xaml file in that path and then the issue was resolved. But I don’t want any unnecessary files in my project. Your help is much appreciated.
- Open your UiPath project in UiPath Studio.
- Check the
project.jsonfile and ensure that the file you’re trying to delete is not referenced in any workflow, especially in sequences or invoked workflows - OR
- Delete Project.Json file and paste the Project.Json file from the newly created project and run the Process
- Or
- Check the Packages Downgrade it’s version and put it in “Lowest applicable Version”
Delete the project.json file and try to re run the flow once.
There is some xaml invoked in Main which you have deleted that’s why you are facing the error. Check the entire project once.
Regards
I have already tried deleting the project.json, coping whole project to a new location, deleting temp files in the project. But it does not work.
Did you check whether any deleted xaml file is invoked in the Main.xaml file.
Regards
at least you can search with a texteditor like notepad++ (filter on xaml, also search for subdriectories) using the information of
and check if it is found anywhere.
Thanks all, I have checked manually all over the code but I was not able to find any invoked place. But I just remembered to use the global search in the studio found a hidden invoked place and just deleted it. Now it is resolved.
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.