My project does not open anymore

5

My project was working perfectly. I opened it now and it gives me this error:

When I got my grandson I was with my notebook, but I do not think he (3 years) would damage it. It is more certain to be a virus, but I scanned it and did not get anything on my computer. How do I fix this and open the solution and my projects that are in it?

    
asked by anonymous 21.05.2015 / 21:22

1 answer

6

Using version control

If you are using some version of code you can try to demap your current project and map it again. (Do this only if you do not have any pending changes)

No Version Control

If the problem is only in the solution of your project you can try adding the classes of your old project in a new project.

  • Create new project
  • Of the same type as the old project

  • Add the files (classes, references, images and etc) in the new project
  • For this right click on the new project and then 'Add existing item' ;

    FindandselecttheoldprojectfilesandclickAdd

    Files should be added to the new solution and you should be able to continue your work.

        
    22.05.2015 / 03:43