Click here to Skip to main content
15,905,148 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
I have a project that I have spent most of the summer on that needs to be finished in a week. I recently went to open it and Form1 wouldn't open, giving me the message "There is no editor available for Form1.cs. Make sure the application for the file type is installed." My other two forms, ControlCenter and Information, open perfectly fine. However, Form1 won't open, the Form1.Designer throws the error "Form1.Dispose(bool)': no suitable method found to override", the Form1.cs file appears empty when opened in Notepad, and I already tried reinstalling Visual Studio. What can I do?
Posted
Comments
Patrice T 15-Aug-15 20:23pm    
Think about doing backups on a regular basis.
Also think about versioning.

1 solution

I suppose that when spending most on the summer on your code base, you would have some kind of source control mechanism in place? Then again, from you asking this question, I guess you don't. Your best option is checking if autorecovery information is saved. By default, the location is \...\My Documents\Visual Studio <version>\Backup Files\<projectname>. Check Tools-Options-Environment-AutoRecover.
 
Share this answer
 
Comments
Member 11581301 15-Aug-15 20:12pm    
The <projectname> folder is empty.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900