Thank you for your posts.
Starting from the 0.24.13 we have blocked usage of projects which are corrupted and may lead to unpredicted TWS behaviors or errors. This means that the project you are trying to open now was probably corrupted in one of the previous versions.
The main reason why the project might be marked as damaged is files duplication - some of the files in the project are duplicated in the project file itself due to another issues.
In general there is no simple way to move the local history or repair the project file. But we may suggest you such way to try to repair the project:
- Try to open the corrupted project in The Welkin Suite.
- After you receive the message open Help->Report a bug, find the "Attach Log file" checkbox in the bottom of the window and click "ActivityLog.xml" link - you will see Activity log file.
- In the log file look for messages with text like "The files with id '%SOME_ID_HERE%' are duplicated"
- Open ".sfproj" file in the text editor and look for that ID's in it - you will find some entries for each of them and you will need to decide which of them to remove.
- To remove files from the project file you will need to remove the whole block of the file. They will look like:
- <Compile...>...</Compile> - for classes; additionally <None...>...</None> - for metadata;
- <Object...>...</Object> - for objects;
- <Static...>...</Static> - for static resources.
After all these action you can try to open the project and pull changes.
You can write us if you have any questions about these steps.
We will appreciate if you can share with us info on what types of files were duplicated in your project and it will be really great if you remember if there was something special about that files.