473,385 Members | 1,673 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Bizarre system restore behavior and C#

I'm not quite sure where to post this, but I figured these two groups would
be a good start.

I had a very nasty surprise this morning (7/26/05).

I had to do a system restore to a restore point I made about a week ago. I
had some VPN software that was screwing up my network, and even an uninstall
didn't fix it.

After doing the system restore, I noticed that every C# source file (*.cs)
that I had modified since the date of the restore point (7/18/05) had
reverted back to a date of 7/18. Worse, all the changes made since then had
disappeared.

I thought to myself "There's no way this is related to the system restore. I
must have only thought about making the changes and not actually made them."
But the changes were far too extensive to have been made only in my head. I
un-did the system restore and, lo and behold, all my *.cs files had the
correct dates on them, and the changes made since 7/18 were back.

Curiously, *.vb files were unaffected.

So, a couple of questions:

1) What the heck? Why is the system restore mechanism messing with source
files? Isn't it supposed to ignore changes made to document files?
2) How do I prevent this from happening again?

Bryan Slatner
Venture Group Enterprises, Inc.
Jul 26 '05 #1
1 1604
Ed Glunz wrote:
So, a couple of questions:

1) What the heck? Why is the system restore mechanism messing with source
files? Isn't it supposed to ignore changes made to document files?
Probably, I have no idea.
2) How do I prevent this from happening again?


Install and use a version control system. You should do this anyway,
even if you're not having problems with restore points. A very good and
free one is Subversion at http://subversion.tigris.org/ (great frontend
here: http://tortoisesvn.tigris.org/), but there are lots of
alternatives if you don't like it. Every programmer should use a version
control system!
Oliver Sturm
--
omnibus ex nihilo ducendis sufficit unum
Spaces inserted to prevent google email destruction:
MSN oliver @ sturmnet.org Jabber sturm @ amessage.de
ICQ 27142619 http://www.sturmnet.org/blog
Jul 26 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Ed Glunz | last post by:
I'm not quite sure where to post this, but I figured these two groups would be a good start. I had a very nasty surprise this morning (7/26/05). I had to do a system restore to a restore point...
1
by: Ed Glunz | last post by:
I'm not quite sure where to post this, but I figured these two groups would be a good start. I had a very nasty surprise this morning (7/26/05). I had to do a system restore to a restore point...
0
by: Mark | last post by:
We're authoring a VS 2005 app that includes several EXE's and DLL's and also uses a COM component (a customer requirement). The COM component provides a graphic image to be used by the .NET app;...
3
by: Peter | last post by:
Hi! I am having some very strange behavior with my databound controls. It's taken a long time to isolate exactly what is provoking the problem, but I'm still leagues away from solving it. I...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.