Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

Hello,

I think I made a big mistake.

 

I have a .net program which I distributed out to several users on my network. I just gave them the .exe file to run. I kept the solution files on my machine and continued to edit them. Unfortunately I didnt keep a copy of the solution files to the program that they have.

 

I have made about a week's worth of changes to the program and now I realize that I want to go back to the older version.

 

Does anyone have any idea how I can do this without having to spend hours pouring through code attempting to undo all of my changes?

 

Thanks in advance.

  • *Experts*
Posted

More of what you don't want to hear...

You should definitely be using some kind of a source control system. See this thread for a discussion.

 

Since you're distributing software to users there's no good reason NOT to have things under source control. The source control allows you to "label" or "mark" a version so that when something like this happens, you can get back to where you were.

 

You might try decompiling the source but I would guess that you'll end up having to tweak your existing code anyway - you wouldn't want to work off the decompiled source. With that in mind, you're probably going to end up figuring out what you changed and change it back manually.

 

Good Luck! If it helps, I feel for you - been right where you are with a couple of "home" projects before I started using source control on *everything*, even (and especially) test projects.

 

-ner

"I want to stand as close to the edge as I can without going over. Out on the edge you see all the kinds of things you can't see from the center." - Kurt Vonnegut
Posted

http://www.aisto.com/roeder/dotnet/

 

Take a look at the Reflector

"If someone say : "Die mortal !"... don't stay to see if he isn't." - Unknown

"Learning to program is like going out with a new girl friend. There's always something that wasn't mentioned in the documentation..." - Me

"A drunk girl is like an animal... it scream at everything like a cat and roll in the grass like a dog." - Me after seeing my girlfriend drunk and some of her drunk friend.

C# TO VB TRANSLATOR

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...