How do I work simultaneously on a project from two or more machines in Visual Studio 2010 [closed]

有些话、适合烂在心里 提交于 2019-12-06 13:32:10

问题


I have a team of 3 developers. We are working on a single project in Visual Studio 2010 from different locations.

How do I basically collaborate with the team mates so that all of us can work on the project simultaneously keeping everything in sync.

What tools will be required and how do I implement those tools for my project.


回答1:


  • Team Foundation Version Control.
  • Subversion (with ankhSVN or TortoiseSVN).
  • Git (the best IMHO, has TortoiseGit and a great "free colaborative repository", GitHub).
  • plasticscm (has integration with VisualStudio, free for up to 15 developers).
  • Mercurial (with optional TortoiseHg).

Or just take a look at here.

TFS is good for beginners (SCM for dummies, based on locks, point-and-click interface, well integrated to Visual Studio - it is the official Microsoft SCM tool).

SVN is a good middle ground (avoids locking, centralized repository, good client GUIs).

But if you really want to use a state-of-art, distributed SCM tool, choose one of the last 3.

Regarding plasticscm, it seems to be a very nice solution - does SCM the right way, but has an astounding Visual Studio integration, like no other tool has (with the exception of TFS, of course).




回答2:


Best bet would be some type of source control

SVN is a quality, free solution, that will allow you all to connect to a single code repository.

http://subversion.tigris.org/

You can also use a free SVN server to get up and running quickly, like VisualSVN

http://www.visualsvn.com/

There are many Visual Studio plugins out there for SVN if you don't want to manage files from your folder structure




回答3:


Any source control provider with Visual Studio support will do.

On the expensive side is TFS, but it's got the most/best Visual Studio integration.

On the free side, you could set up a free ProjectLocker SVN repository (or just use your own) and connect to it from Visual Sutdio using AnkhSVN.




回答4:


You need a version control system. There are many of them, and many offers for free usage. One example is Subversion, which is free, and and works with a central server, called repository. You can use an older machine as a server for the repository, even an older laptop is fine, for the team size you mention.

Here is a link to the installer for the repository.

Then, each one of your development machines need a client for synchronising the source code. Here, TortoiseSVN is a popular option. There are even tools for synchronising from within Visual Studio. Google for VisualSVN and Ankhsvn.




回答5:


Use a version controlling tool, like SVN, and a plug-in for Visual Studio, like AnkhSVN.




回答6:


If you use svn, mercurial, or some of the other open source source code control techniques be aware that binaries and object files can be ignored. Also you may have to deal with assemblies. Make sure everyone on the project has access to the certificate or strong name file and its probably dangerous to keep it in svn without password protection.

Finally you should update first, and commit only after verifying that there are no bugs. Make sure you make a zip of your entire project often and place it in a safe place just in case. Also always separate the production from the development work. :)



来源:https://stackoverflow.com/questions/4452692/how-do-i-work-simultaneously-on-a-project-from-two-or-more-machines-in-visual-st

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!