Recover a project file

Home Forums Other Misc Recover a project file

This topic contains 4 replies, has 4 voices, and was last updated by Avatar manojkmy 1 year, 10 months ago.

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
  • #167117

    I was saving a project on Visual Studio 2008 Pro when my computer rebooted.
    Now when I open a solution, I get the message “Unable to read the project file ‘XXXXX.csproj’.”.
    I checked this file, it contains only nulled chars (instead of all the config of the project).
    Is there a way to recover or regenerate this file?
    Thanks for your help.


    Can’t you just create a new project and use “add existing item” to add all the files to it?
    (Obviously I don’t know how many files make up the project)

    Alternatively restore (just the project file) from backup and add in anything new since the backup


    ok. I’ll try to follow your instructions. thank you!)


    I had this situation. Try to do the following.
    1. Create a new similar project
    2. Copy the content of the *.csproj (or vbproj, etc.)
    3. Remove all the “Compile Include” references.
    Basically this:



    4. Launch your project, it should starts with none of your forms, class…

    5. Add all your existing items in your project…
    In the extreme case, if this advice does not help, then try to use the online service for recover microsoft project file. Maybe it will help.
    Hope that helps!)


    Thank you guys for your feedback and help. Thank you!

Viewing 5 posts - 1 through 5 (of 5 total)

You must be logged in to reply to this topic.