Can anyone recommend a source control solution for Visual Studio? I am going to be the only person using it, I just need something to back up my data every so often or before I undertake a big change in the software. I tried AnkhSVN, but this requires an SVN server. Is there anything that can be used locally that takes the pain out of copying solution folders manually?
Visual Studio Code has integrated source control management (SCM) and includes Git support out-of-the-box. Many other source control providers are available through extensions on the VS Code Marketplace.
From the main menu, Tools -> Options and then navigate to. Under the Plug-in Selection, you will find it is already set to “None. From the plug-in selection drop-down, you can choose either Git or Visual Studio Team Foundation Server. Visual Studio will enable the plugin for the specific source control accordingly.
Source control is important for maintaining a single source of truth for development teams. Using it helps facilitate collaboration and accelerates release velocity. Some benefits of source control are: It allows multiple developers to work on the same codebase.
Visual Studio for Mac provides support for both Git and Subversion version control systems.
With Subversion you can create local, file-system-based repositories for single-user access.
Probably the easiest way to use subversion (on windows) is to install TortoiseSVN. To create a repository, you simply create an empty folder in the location where you want the repository to be, right click that folder and select "TortoiseSVN -> Create repository here".
It is even possible (but not recommended) to create such a repository on a network share.
You can then access local repositories using a file-URL e.g: file:///D:/Projects/MyRepository
If you later find out that you need a server (e.g. to give other users access to the repository), you can easily install svnserve on a server and move the local repository to that server.
Just for completeness: as others have noted, there are several good clients for subversion (personally I'm using mainly TortoiseSVN and AnkhSVN):
Funny nobody mentioned Git just yet. Granted, it does have a learning curve, but I've been using it successfully within Visual Studio for the past year. Both commandline and with a GUI (GitExtensions).
Download Git for Windows from here.
Since it is a DVCS, it doesn't need a server. You can work against your local repositories publishing them to the world when needed (check out Github).
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With