简体   繁体   English

在计算机之间共享Visual Studio项目

[英]Sharing visual studio projects between computers

我有一台笔记本电脑和一台台式电脑,我希望在它们之间共享视觉工作室项目 - 最简单的方法是什么?

The simplest way to do this at the moment is to use Microsoft's new and free TFS (Team Foundation Server) service "in the cloud". 目前最简单的方法是在云中使用Microsoft的新的免费TFS(Team Foundation Server)服务。

First , sign up a TFS account here . 首先在此处注册TFS帐户。 You will have to choose a name, which will give you a URL like http://yourname.visualstudio.com/ 你必须选择一个名字,它会给你一个像http://yourname.visualstudio.com/这样的网址

Next , within Visual Studio you can add a TFS server, where you will be able to check-in and check-out your solutions and projects from any number of computers. 接下来 ,在Visual Studio中,您可以添加TFS服务器,在那里您可以从任意数量的计算机签入和签出您的解决方案和项目。

Do you want to share Visual Studio project (1) or do you want to put the project under version-control (2) ? 您想要共享 Visual Studio项目(1)还是要将项目置于版本控制 (2)下

  1. For the first case you may consider online backup / storage service like Dropbox, Google Drive or SkyDrive. 对于第一种情况,您可以考虑在线备份/存储服务,如Dropbox,Google Drive或SkyDrive。 You will be able to access your project from different computers and could share it with others when needed. 您将能够从不同的计算机访问您的项目,并可在需要时与他人共享。 It's really the simplest way; 这真的是最简单的方式; no version-control though. 虽然没有版本控制。

  2. If you require version-control I advise you to choose Apache Subversion . 如果您需要版本控制,我建议您选择Apache Subversion TFS is like walking the hard and thorny path and is definitely NOT the simplest way. TFS就像走在艰难而棘手的道路上,绝对不是最简单的方法。

So, you can install VisualSVN to add SVN as a source control to Visual Studio. 因此,您可以安装VisualSVN以将SVN添加为Visual Studio的源控件。 Then you can "Add the solution to Subversion" with VisualSVN. 然后你可以用VisualSVN “将解决方案添加到Subversion”

You can either host repositories on your LAN with VisualSVN Server (or any other SVN server) or use a hosted SVN service. 您可以使用VisualSVN Server(或任何其他SVN服务器)在LAN上托管存储库,也可以使用托管的SVN服务。 Initial setup takes a couple of minutes max actually. 初始设置实际上最多需要几分钟。

You can use a free SVN service. 您可以使用免费的SVN服务。 Here is one provided:- https://www.assembla.com/home 这是一个提供: - https://www.assembla.com/home

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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