Rename the .capx to .zip and you can extract the folder project within. Check the .caproj file to see which project files it's expecting, and make sure they're all there in the Files folder. Add any that are missing and then the project should open again. If you can reproduce this, you should definitely post a bug report, but we can't really do anything about it after it's already happened.