Backup your .capx file first, rename it to .zip, unzip to a folder and try fixing the problem by editing xml and caproj files manually in a text editor like Notepad++
Since you didn't post the error message and didn't share your project file, this is the only help I can offer.