472,776 Members | 2,424 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,776 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 1566
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...
3
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 2 August 2023 starting at 18:00 UK time (6PM UTC+1) and finishing at about 19:15 (7.15PM) The start time is equivalent to 19:00 (7PM) in Central...
0
by: erikbower65 | last post by:
Using CodiumAI's pr-agent is simple and powerful. Follow these steps: 1. Install CodiumAI CLI: Ensure Node.js is installed, then run 'npm install -g codiumai' in the terminal. 2. Connect to...
0
by: kcodez | last post by:
As a H5 game development enthusiast, I recently wrote a very interesting little game - Toy Claw ((http://claw.kjeek.com/))。Here I will summarize and share the development experience here, and hope it...
14
DJRhino1175
by: DJRhino1175 | last post by:
When I run this code I get an error, its Run-time error# 424 Object required...This is my first attempt at doing something like this. I test the entire code and it worked until I added this - If...
5
by: DJRhino | last post by:
Private Sub CboDrawingID_BeforeUpdate(Cancel As Integer) If = 310029923 Or 310030138 Or 310030152 Or 310030346 Or 310030348 Or _ 310030356 Or 310030359 Or 310030362 Or...
0
by: lllomh | last post by:
Define the method first this.state = { buttonBackgroundColor: 'green', isBlinking: false, // A new status is added to identify whether the button is blinking or not } autoStart=()=>{
0
by: lllomh | last post by:
How does React native implement an English player?
0
by: Mushico | last post by:
How to calculate date of retirement from date of birth
2
by: DJRhino | last post by:
Was curious if anyone else was having this same issue or not.... I was just Up/Down graded to windows 11 and now my access combo boxes are not acting right. With win 10 I could start typing...

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.