VS created C#winform project with missing root file, unable to read project file *.csproj?

Source: Internet
Author: User
Tags file copy

The last thing a program developer would want to see is that a project that he has painstakingly created cannot be used when the computer crashes. So, backup is something that a program developer has to do, and of course, we can use a project management system like SVN, like a log file, that can record a time period if an error goes back to the most recent time, and it's similar to a system restore point. I just know, but have not tried to use, in the future development I want to be the same cock silk developers can learn.

Today, the computer card is dead. The program is still running, waiting for 10 minutes or not responding, I jiyan. Forced shutdown, when I turned on again, but found that the tragedy has befallen:

What to do? At that time I was blindfolded, if this is broken, I wipe the results of the day is gone, because I backed up a few days ago. Some people say re-built, hey, I also know to rebuild can. Can you give me some constructive advice?

I tried to copy all the latest files to the old backup, in addition to csproj this file, the results found that the old backup file will only load the original existing files, even if the copy is not displayed in the project. Although the project can be opened. So, I Baidu a bit the role of this file, it is simple to say that it is a record file of various operations of the file, so the old version of course will not have not run and copied the file.

What to do??? Sometimes we can use the stupid point to solve a seemingly unresolved problem, we can open a project under the VS file copy, only copy the program files you modified, as for the configuration file what, in fact, he will be in operation or operation of the update.

Figures:


Use this method to copy the program files into it, Ah, finally relieved, scared urine!


Note: 1, daily backup importance

2, the use of a program management system.


Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.