Members
  • Total Members: 14176
  • Latest: toxxxa
Stats
  • Total Posts: 43032
  • Total Topics: 16217
  • Online Today: 5974
  • Online Ever: 51419
  • (01. January 2010., 10:27:49)









Author Topic: Recover a project file  (Read 5511 times)

0 Members and 4 Guests are viewing this topic.

nietoramos

  • SCF Newbie
  • *
  • Posts: 2
  • KARMA: 0
  • Gender: Male
Recover a project file
« on: 19. January 2016., 18:03:49 »
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.

Samker's Computer Forum - SCforum.info

Recover a project file
« on: 19. January 2016., 18:03:49 »

Samker

  • SCF Administrator
  • *****
  • Posts: 7528
  • KARMA: 322
  • Gender: Male
  • Whatever doesn't kill us makes us stronger.
    • SCforum.info - Samker's Computer Forum
Hi,

Do you have installed SP1 for VS2008 ??

As I know, this issues is resolved in mentioned Service Pack: https://support.microsoft.com/en-us/kb/950263

cya later,

S.

simon_vanbeek

  • SCF Newbie
  • *
  • Posts: 2
  • KARMA: 0
  • Gender: Male
Re: Recover a project file
« Reply #2 on: 28. January 2016., 16:10:16 »
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:
    <Compile Include="Form1.cs">
      <SubType>Form</SubType>
    </Compile>
    <Compile Include="Form1.Designer.cs">
      <DependentUpon>Form1.cs</DependentUpon>
    </Compile>
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 service of online repair Microsoft Project. Maybe it will help. https://onlinefilerepair.com/en/project-repair-online.html 
Hope that helps!)


nietoramos

  • SCF Newbie
  • *
  • Posts: 2
  • KARMA: 0
  • Gender: Male
Re: Recover a project file
« Reply #4 on: 31. January 2016., 16:57:28 »
thanks. solved)

Samker's Computer Forum - SCforum.info

Re: Recover a project file
« Reply #4 on: 31. January 2016., 16:57:28 »

 

With Quick-Reply you can write a post when viewing a topic without loading a new page. You can still use bulletin board code and smileys as you would in a normal post.

Name: Email:
Verification:
Type the letters shown in the picture
Listen to the letters / Request another image
Type the letters shown in the picture:
Second Anti-Bot trap, type or simply copy-paste below (only the red letters):www.scforum.info:

Enter your email address to receive daily email with 'SCforum.info - Samker's Computer Forum' newest content:

Terms of Use | Privacy Policy | Advertising