Data lost (blank .xaml files with no earlier activities) after dependency update in new version of UiPath Studio.
Issue Description
When opening an older project on a new/latest version of Studio it pops up an error message and demands a dependency update and when this is allowed, It creates copies of blank .xaml files and when opened it is empty without any activities. This issue is seen after updating UiPath Studio.
Root Cause
There could be a variety of reasons why this particular behavior is seen and especially with an older project which contains pretty old package versions, dependencies, unsupported versions due to which the Studio enforces an update on the packages and dependencies.
Another reason in this particular case is the project which is in place is named as "UiPath".
Error Message
The project has the same name as a reference package(“UiPath”). This scenario is not supported and will lead to dependency resolve issues.
Resolution
Try one of the below approaches and it should most likely resolve the issue:
- An old project contains an older version of Activity packages and compatibility issues would arise. Copy and paste the old project sequences into a new UiPath Process. This will download all the dependencies, create a new Project.json and keep the existing .xaml files with the Activities intact.
- Make sure that the project which is being run is not called UiPath.