Visual Studio 2010中的源代码管理? [英] Source control in Visual Studio 2010?

查看:229
本文介绍了Visual Studio 2010中的源代码管理?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我需要在Visual Studio 2010 Professional中使用源代码管理。我没有单独的Team Foundation Server 2010.有人提到过SourceSafe?我没有看到Visual Studio 2010中的任何SourceSafe是诚实的。



Visual Studio 2010中的源代码控制有哪些替代方法(最好是免费的)?或者它已经集成在Visual Studio 2010中,我很盲目地错过了它?

更新#1:谢谢大家,我会用SVN ,尤其是针对Visual Studio 2010的 AnkhSVN ::它是自从我提出这个问题以来已经快一年了。我强烈建议在Subversion上使用 Mercurial Git 。因此,对于那些正在寻找Visual Studio 2010版本控制系统的人来说,看看没有比Visual Studio扩展库中的Git或Mercurial扩展更强大的功能了。



更新2013年5月16日:我现在强烈建议您通过 Mercurial TFS SVN / em>的。在浏览器中查看 CodeSchool 试用GitHub 看看它有多棒!


  • 在Visual Studio 2012上开始使用Git - 的深入教程。

  • 适用于Git的Visual Studio工具 - 为Team Explorer提供源代码的扩展控制Git的集成。允许与本地Git存储库进行集成,并提供工具来与远程存储库一起工作。 /i.stack.imgur.com/4r9KC.pngalt =在这里输入图片描述>

    解决方案

    请参阅<使用Visual Studio插件的源代码管理系统列表




    Visual Studio只是一个IDE。您可以使用任何您想要的源代码控制解决方案。特别是任何开源的源代码控制解决方案,如git,mercurial(hg)或subversion(svn)。还有像Perforce或SourceGear Vault这样的商业产品。有关详细信息,请参阅此处获取详细信息。



    您可以找到将其与任何源代码管理集成的Visual Studio插件。对于开源软件来说,颠覆在这方面尤其丰富。商业用户通常会使用这种集成。



    如果您没有使用源代码管理,需要您显式检出文件以进行编辑(如VSS或TFS) ,IDE集成甚至不是必需的。我个人更喜欢在IDE之外使用git或subversion。






    请保持距离 Visual SourceSafe 就是这样。


    After doing some search on SO, Google and MSDN forums I've become frustrated that there is so little information for what might seem like an obvious question and possibly a dumb question.

    I need to use source control in Visual Studio 2010 Professional. I do not have separate Team Foundation Server 2010. Some people have mentioned SourceSafe? I haven't seen any SourceSafe inside of the Visual Studio 2010 to be honest.

    What are some alternatives (preferably free) for source control in Visual Studio 2010? Or is it already integrated in Visual Studio 2010 that I am so blind to have missed that?

    Update #1: Thank you everyone, I will go with SVN, in particular AnkhSVN for Visual Studio 2010.

    Update 3/23/2011: It's been almost a year since I have asked this question. I highly recommend using either Mercurial or Git over Subversion. So for those of you who are looking for Visual Studio 2010 version control system, look no further than Git or Mercurial extensions from the Visual Studio Extension Library.

    Update 5/16/2013: I would now strongly encourage you to use Git over Mercurial, TFS or SVN. Take a look at CodeSchool's Try GitHub in the browser to see how awesome it is!

    解决方案

    See: List of Source Control Systems with Visual Studio Plugins


    Visual Studio is just an IDE. You can use any source control solution that you want with it. Any open source source control solution in particular, like git, mercurial (hg) or subversion (svn). And there are commercial products like Perforce or SourceGear Vault. See here for a pretty exhaustive list and google for more information.

    You can find Visual Studio plugins that integrate it with any source control. Of open source ones subversion is especially rich in this regard. Commercial ones usually come with this integration.

    And if you are not using source control that requires you to explicitly check-out files to edit them (like VSS or TFS do), the IDE integration is not even essential. I personally prefer to use git or subversion from outside the IDE.


    And please, stay as far from Visual SourceSafe as you can.

    这篇关于Visual Studio 2010中的源代码管理?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆