Resolved BackingUp my Solution

jcardana

Old to VB6, New to VB.NET
Joined
Oct 26, 2015
Messages
72
Location
Rio Rancho, NM
Programming Experience
Beginner
What's the bast way to backup my Solution/Project before making major changes?
I'm thinking I could just ZIP the entire folder structure. If I make irreparable damage, just delete and extract.?
 
Solution
You can do that to create a snapshot. I'd suggest making sure that it's not open in VS at the time. There's usually no issue but sometimes files can be locked.

That said, there's really no need to do that. You ought to be using some form of source control. There are a number of free options, including Azure DevOps and GitHub that have support already built into VS. With your source code stored in a repository in the cloud, you always have a backup of the last good state and you also have a history, so you can go back to any previous state too. You also have the option of creating multiple branches. That's less appealing for a lone developer but it means that you can work on different code in different branches and then either discard...
You can do that to create a snapshot. I'd suggest making sure that it's not open in VS at the time. There's usually no issue but sometimes files can be locked.

That said, there's really no need to do that. You ought to be using some form of source control. There are a number of free options, including Azure DevOps and GitHub that have support already built into VS. With your source code stored in a repository in the cloud, you always have a backup of the last good state and you also have a history, so you can go back to any previous state too. You also have the option of creating multiple branches. That's less appealing for a lone developer but it means that you can work on different code in different branches and then either discard or merge the changes.
 
Solution
Back
Top