简体   繁体   中英

Version Control in Visual Studio

I'm currently working on a large project, and am about to make some large changes, and was looking for a way to 'backup' my prior work. Is there built in functionality in Visual Studio to work with version control?

This project is developed only by me, and doesn't use Team Foundation Server (which is what most of my googling seems to give me answers on). Ideally, I would like to identify and restore all the different versions of my program as it evolves, without having to worry about totally messing something up...

Cheers and thanks in advance!

---EDIT--- With a version control system though, would that be stored on a seperate server? Or is it possible to store it locally? I'm more just concerned that I will just seriously mess up my code and not be able to undo it at some point...

There are several third-party source control integration tools, such as AnkhSVN or VisualSVN for SVN repositories (I use the former and can gladly recommend it). As far as "built-in", Visual Studio supports Team Foundation Server and Visual Source Safe out of the box, but those are both paid products and VSS should be avoided (in my opinion) for any new work.

Personally, I use TortiseSVN (for Windows integration) and AnkhSVN (for VS integration) with our SVN repository. There are free SVN servers as well, so you can get by with a very good solution while paying $0.

那么,有许多免费的 源代码控制 替代方案 ,并且Visual Studio中有插件免费的 )可以让你直接进入。查看这些链接并选择一个适合你的链接!

Visual Studio has the ability to work with many source control providers. You simply have to hook them up.

Use "Tools->Options->Source Control->Plug-in Selection".

TFS is really expensive, especially for just you. You can use VisualSVN.

it is a free download to us ANkhsvn. It is a plugin for visual studio that connects to various source control severs. You would first have to have a subversion server setup somewhere. Which is easy enough to do.

VS.NET中没有内置的版本控制系统,但VS.NET支持多种版本控制系统,如TFS,Visual Sourcesafe,SourceGear库等......

As you state, you need a version control system. Look at this answer on selecting a Version Control System.

You may be able to use git with VS which means you don't need another dir/server etc for the repo. Consider Using Git with Visual Studio

There are many version management systems. A lot of them are expensives, but... the are many others that are free! Take a look here: http://producingoss.com/en/vc-systems.html

You can use SVN (Subversion) - one of the most used widely.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM